Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009185/0.009185, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.002326/0.002326, allocations: 192.9 kB / 16.67 MB, free: 5.93 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.885/2.885, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3848, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002572/0.3874, allocations: 0.6672 MB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3888, allocations: 0.8121 MB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.3889, allocations: 4 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.3889, allocations: 7.875 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/0.389, allocations: 3.938 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3892, allocations: 7.984 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.3893, allocations: 27.92 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3894, allocations: 4 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.3895, allocations: 8 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.3896, allocations: 19.91 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3896, allocations: 4 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.3896, allocations: 0 / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.3896, allocations: 4 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.3897, allocations: 11.92 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3898, allocations: 19.91 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3898, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3898, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3898, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 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.0005449/0.3904, allocations: 343.4 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3904, allocations: 12.03 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.3905, allocations: 0.9375 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3906, allocations: 168.3 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3907, allocations: 8.375 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.3907, allocations: 384 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3909, allocations: 54.17 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3909, allocations: 192 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3909, allocations: 7.938 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3909, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.3911, allocations: 35.95 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.3916, allocations: 240.9 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3918, allocations: 42.53 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.3919, allocations: 24.84 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.3919, allocations: 4 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.392, allocations: 34.56 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.392, allocations: 0 / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004399/0.3924, allocations: 77.73 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.3925, allocations: 55.44 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3926, allocations: 101.8 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3927, allocations: 25.7 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.3927, allocations: 80.14 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.3928, allocations: 11.95 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.3928, allocations: 9.719 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.393, allocations: 314.8 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.091e-05/0.3931, allocations: 31.91 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.3932, allocations: 11.98 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3933, allocations: 36.83 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3933, allocations: 3.938 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002287/0.3936, allocations: 77.61 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.3936, allocations: 10.19 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3936, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3936, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3938, allocations: 11.98 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.3938, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.3938, allocations: 11.92 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3938, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 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 0.0001119/0.394, allocations: 113.8 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.394, allocations: 4 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.3943, allocations: 68.78 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3943, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3943, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3943, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3945, allocations: 165.6 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3945, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.3946, allocations: 12.03 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3946, allocations: 192 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3946, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3946, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.3946, allocations: 3.984 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3948, allocations: 167.4 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.3949, allocations: 97.02 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.395, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.395, allocations: 4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3951, allocations: 3.984 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3951, allocations: 0 / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.3951, allocations: 83.28 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3951, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002166/0.3954, allocations: 4 kB / 1.171 GB, free: 2.387 MB / 0.92 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.000187/0.3956, allocations: 103.2 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.3958, allocations: 39.89 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3958, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.3959, allocations: 19.98 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3962, allocations: 3.938 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.3966, allocations: 118 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3969, allocations: 0.6768 MB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.397, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.397, allocations: 11.44 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of SimCode: time 7.91e-07/0.397, allocations: 0 / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of Templates: time 0.002707/0.3997, allocations: 430.6 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches