Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001502, allocations: 100.3 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001693, allocations: 190.7 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 69.17 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3427, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.002417/0.3452, allocations: 0.653 MB / 0.9518 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3465, allocations: 0.8138 MB / 0.9526 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.3466, allocations: 0 / 0.9526 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.3466, allocations: 3.938 kB / 0.9526 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.3467, allocations: 3.938 kB / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.3469, allocations: 15.98 kB / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.347, allocations: 19.98 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3471, allocations: 4 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.3472, allocations: 15.88 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.3473, allocations: 15.92 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3473, allocations: 4 kB / 0.9527 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.3473, allocations: 4 kB / 0.9527 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.3473, allocations: 3.984 kB / 0.9527 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.3474, allocations: 11.92 kB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3475, allocations: 19.91 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3475, allocations: 0 / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3475, allocations: 0 / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3475, allocations: 4 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007061/0.3482, allocations: 336.5 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.3483, allocations: 12.03 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.3483, allocations: 4.938 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3485, allocations: 168.2 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3485, allocations: 384 / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.3485, allocations: 384 / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3487, allocations: 58.16 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3487, allocations: 192 / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3487, allocations: 3.938 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3488, allocations: 4 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.3489, allocations: 35.95 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.3493, allocations: 245 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3495, allocations: 34.5 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/0.3496, allocations: 32.89 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3496, allocations: 3.938 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3496, allocations: 30.56 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3496, allocations: 0 / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003514/0.35, allocations: 81.64 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.35, allocations: 51.41 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.3501, allocations: 102 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3502, allocations: 25.7 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.3502, allocations: 92.06 kB / 0.954 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3503, allocations: 3.906 kB / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.3503, allocations: 17.72 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3504, allocations: 310.8 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.3505, allocations: 19.92 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.3506, allocations: 19.97 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3507, allocations: 36.83 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3508, allocations: 0 / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002957/0.3511, allocations: 69.59 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3511, allocations: 4 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3511, allocations: 4.094 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3511, allocations: 3.938 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.3512, allocations: 11.98 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3512, allocations: 0 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.3513, allocations: 4 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3513, allocations: 4 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.088e-05/0.3514, allocations: 123.7 kB / 0.9546 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.3514, allocations: 3.906 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.3517, allocations: 72.78 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3517, allocations: 0 / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3517, allocations: 4 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3517, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.352, allocations: 161.6 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.352, allocations: 0 / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.352, allocations: 7.984 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3521, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3521, allocations: 12.03 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3521, allocations: 0 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3521, allocations: 0 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.3523, allocations: 163.4 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.3524, allocations: 81.11 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3524, allocations: 3.984 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.3525, allocations: 8.031 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3525, allocations: 0 / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3525, allocations: 7.984 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.3526, allocations: 79.45 kB / 0.9551 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3526, allocations: 3.938 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002062/0.3528, allocations: 4 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001766/0.353, allocations: 103.2 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.3532, allocations: 43.89 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3532, allocations: 0 / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.3533, allocations: 15.98 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3536, allocations: 15.88 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.3541, allocations: 104.2 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3544, allocations: 0.6846 MB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.3544, allocations: 0 / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.3544, allocations: 7.438 kB / 0.9561 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.3544, allocations: 0 / 0.9561 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of Templates: time 0.002712/0.3572, allocations: 444.8 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches