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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001955/0.001955, allocations: 194.1 kB / 16.13 MB, free: 6.656 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9816/0.9829, allocations: 140.4 MB / 0.9489 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.002421/0.9854, allocations: 0.7248 MB / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.9862, allocations: 0.7986 MB / 0.9504 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.9863, allocations: 1.375 kB / 0.9504 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/0.9864, allocations: 4 kB / 0.9504 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.9864, allocations: 3.984 kB / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.9866, allocations: 10.73 kB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.9867, allocations: 20.17 kB / 0.9505 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.9868, allocations: 6.75 kB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.9868, allocations: 4.125 kB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.9869, allocations: 14.67 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.9869, allocations: 1.375 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.9869, allocations: 1.375 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.9869, allocations: 4 kB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.987, allocations: 10.69 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.622e-05/0.9871, allocations: 28 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9871, allocations: 0 / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.9871, allocations: 0 / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9871, allocations: 0 / 0.9505 GB, free: 7.938 MB / 0.7169 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.0004484/0.9875, allocations: 339.2 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9876, allocations: 9.625 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.9876, allocations: 2.312 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.145e-05/0.9877, allocations: 173.6 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.9877, allocations: 384 / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.9878, allocations: 9.672 kB / 0.951 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.9879, allocations: 49.23 kB / 0.9511 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.988, allocations: 1.562 kB / 0.9511 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.988, allocations: 3.938 kB / 0.9511 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.988, allocations: 0 / 0.9511 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.9882, allocations: 39.2 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.9885, allocations: 241.2 kB / 0.9514 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.9886, allocations: 42.81 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.9887, allocations: 26.17 kB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.9887, allocations: 1.031 kB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.9887, allocations: 36.12 kB / 0.9515 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9887, allocations: 0 / 0.9515 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003687/0.9891, allocations: 83.73 kB / 0.9515 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.9892, allocations: 52.34 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.9892, allocations: 94.55 kB / 0.9517 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.9893, allocations: 31.33 kB / 0.9517 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.9893, allocations: 88.12 kB / 0.9518 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.9893, allocations: 9.438 kB / 0.9518 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.9893, allocations: 11.81 kB / 0.9518 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.9894, allocations: 316.3 kB / 0.9521 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.9895, allocations: 12.45 kB / 0.9521 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.9896, allocations: 20.91 kB / 0.9522 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.9897, allocations: 44.89 kB / 0.9522 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9897, allocations: 0 / 0.9522 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.9899, allocations: 72.22 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.9899, allocations: 6.094 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9899, allocations: 0 / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.99, allocations: 5.094 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.9901, allocations: 10.61 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.9901, allocations: 0 / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.9901, allocations: 4.25 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.9901, allocations: 0 / 0.9523 GB, free: 6.121 MB / 0.7169 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 6.105e-05/0.9902, allocations: 119 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.9902, allocations: 5.344 kB / 0.9524 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.9905, allocations: 70.91 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.9905, allocations: 3.938 kB / 0.9525 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9905, allocations: 1.219 kB / 0.9525 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9905, allocations: 0 / 0.9525 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.9906, allocations: 158.7 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9906, allocations: 0 / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.9907, allocations: 10.14 kB / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9907, allocations: 0 / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.9907, allocations: 5.156 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9907, allocations: 8.031 kB / 0.9527 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9907, allocations: 0 / 0.9527 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.9909, allocations: 162.9 kB / 0.9528 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.9909, allocations: 78.27 kB / 0.9529 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.991, allocations: 5.266 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.991, allocations: 3.906 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.9911, allocations: 5.281 kB / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.9911, allocations: 8.172 kB / 0.9529 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.9911, allocations: 82.7 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9911, allocations: 3.938 kB / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002125/0.9913, allocations: 4.469 kB / 0.953 GB, free: 5.375 MB / 0.7169 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.0001559/0.9915, allocations: 97.28 kB / 0.9531 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.9917, allocations: 41.3 kB / 0.9531 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9917, allocations: 0 / 0.9531 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.9918, allocations: 19.2 kB / 0.9531 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.9922, allocations: 11.03 kB / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.9925, allocations: 101.8 kB / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.9927, allocations: 0.6814 MB / 0.9539 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.9927, allocations: 4.781 kB / 0.9539 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.9928, allocations: 8.75 kB / 0.9539 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9928, allocations: 0 / 0.9539 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.00296/0.9957, allocations: 373.5 kB / 0.9543 GB, free: 4.234 MB / 0.7169 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 -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/jenkins/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