Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008622/0.0008622, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009685/0.0009687, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004108, allocations: 10.53 kB / 0.9022 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4211, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0008744/0.4221, allocations: 392.7 kB / 1.058 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.423, allocations: 0.8079 MB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.4231, allocations: 0 / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.4231, allocations: 0 / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.4232, allocations: 3.938 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.4233, allocations: 11.98 kB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.68e-05/0.4234, allocations: 19.94 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.4235, allocations: 3.984 kB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.4236, allocations: 8 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.4236, allocations: 19.91 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.4236, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.4237, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.4237, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.4237, allocations: 29.7 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.391e-05/0.4238, allocations: 15.97 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4238, allocations: 0 / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4238, allocations: 0 / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.4238, allocations: 0 / 1.059 GB, free: 4.016 MB / 0.8106 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.0005189/0.4243, allocations: 343.5 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4244, allocations: 8.031 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.4244, allocations: 7.938 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.4246, allocations: 163 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4246, allocations: 4 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.4246, allocations: 3.953 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.4248, allocations: 57.67 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.4248, allocations: 0 / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.4248, allocations: 4 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4248, allocations: 0 / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.425, allocations: 47.89 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.4254, allocations: 252.8 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.4255, allocations: 42.59 kB / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.4256, allocations: 28.91 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.4256, allocations: 0 / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4257, allocations: 30.56 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.187e-06/0.4257, allocations: 0 / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.426, allocations: 109.5 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.4261, allocations: 51.41 kB / 1.06 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.4262, allocations: 101.8 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.4262, allocations: 25.7 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.4263, allocations: 80.14 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.4263, allocations: 16.03 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4263, allocations: 0 / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4264, allocations: 310.8 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.4265, allocations: 15.98 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.4266, allocations: 27.97 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.4267, allocations: 28 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4267, allocations: 0 / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.4269, allocations: 85.59 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4269, allocations: 4 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4269, allocations: 0 / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4269, allocations: 0 / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.427, allocations: 11.98 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.427, allocations: 0 / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.4271, allocations: 8 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.4271, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.4272, allocations: 117.8 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.4272, allocations: 7.906 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.4275, allocations: 84.95 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4275, allocations: 8.016 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4275, allocations: 0 / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4275, allocations: 0 / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.4277, allocations: 153.7 kB / 1.061 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4277, allocations: 7.891 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.4277, allocations: 11.98 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4277, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.4277, allocations: 4 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4277, allocations: 0 / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4278, allocations: 0 / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.428, allocations: 171.5 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.428, allocations: 81.06 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4281, allocations: 7.969 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.4281, allocations: 15.92 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.4282, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.4282, allocations: 4 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.4282, allocations: 83.27 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4282, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002096/0.4285, allocations: 7.938 kB / 1.062 GB, free: 1.121 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/0.4286, allocations: 107.2 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.4288, allocations: 43.95 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4289, allocations: 4 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.429, allocations: 28.05 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.4292, allocations: 1.875 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.4295, allocations: 118.6 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4299, allocations: 0.6731 MB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.4299, allocations: 0 / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.4299, allocations: 15.44 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/0.4299, allocations: 0 / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of Templates: time 0.002506/0.4324, allocations: 344.2 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches