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.001255/0.001255, allocations: 109.2 kB / 16.41 MB, free: 6.496 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.001369/0.001369, allocations: 183 kB / 17.34 MB, free: 5.762 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.435/2.435, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001535, allocations: 67.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9311/0.9326, allocations: 151.6 MB / 1.167 GB, free: 4 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002033/0.9347, allocations: 0.6655 MB / 1.168 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.9359, allocations: 0.8118 MB / 1.169 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.9359, allocations: 0 / 1.169 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.936, allocations: 7.938 kB / 1.169 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.9361, allocations: 7.922 kB / 1.169 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.9362, allocations: 4 kB / 1.169 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.359e-05/0.9363, allocations: 27.92 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.9365, allocations: 3.984 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.9366, allocations: 15.92 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.9366, allocations: 11.98 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.9366, allocations: 0 / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.9367, allocations: 4 kB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.9367, allocations: 4 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.9367, allocations: 11.94 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.82e-05/0.9368, allocations: 23.91 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9369, allocations: 0 / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9369, allocations: 0 / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9369, allocations: 0 / 1.169 GB, free: 2.395 MB / 0.8887 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.0005578/0.9374, allocations: 337.3 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.9375, allocations: 12.03 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.9375, allocations: 0.9375 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.9377, allocations: 168.4 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.9377, allocations: 4.375 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.9377, allocations: 384 / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.9379, allocations: 54.17 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.9379, allocations: 192 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.9379, allocations: 3.938 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9379, allocations: 4 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.9381, allocations: 31.97 kB / 1.17 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.9385, allocations: 249 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.9387, allocations: 40.94 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.9388, allocations: 32.78 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.9388, allocations: 0 / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.9388, allocations: 38.56 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9388, allocations: 3.938 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003482/0.9392, allocations: 81.55 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.9393, allocations: 59.53 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.9394, allocations: 101.8 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.9394, allocations: 25.7 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.9394, allocations: 88.08 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.9395, allocations: 3.906 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.9395, allocations: 13.72 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.9396, allocations: 322.8 kB / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.9397, allocations: 15.98 kB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.9398, allocations: 19.98 kB / 1.171 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.9399, allocations: 40.81 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.94, allocations: 0 / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.9402, allocations: 61.61 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.9402, allocations: 12.09 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9402, allocations: 0 / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.9402, allocations: 3.984 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.9403, allocations: 4 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.9403, allocations: 7.938 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.9404, allocations: 3.984 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.9404, allocations: 4 kB / 1.171 GB, free: 368 kB / 0.8887 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 7.455e-05/0.9405, allocations: 113.8 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.9405, allocations: 4 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.9408, allocations: 68.78 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.9408, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9408, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9408, allocations: 3.984 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.941, allocations: 157.6 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.941, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.9411, allocations: 11.98 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9411, allocations: 4.031 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.9411, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9411, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.9411, allocations: 3.938 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.9414, allocations: 167.4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.9414, allocations: 77.11 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.9414, allocations: 11.97 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.9415, allocations: 7.984 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.9416, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.9416, allocations: 7.938 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.9416, allocations: 79.28 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9416, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002159/0.9419, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 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.0001549/0.942, allocations: 99.23 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.9422, allocations: 43.91 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9422, allocations: 0 / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.331e-05/0.9423, allocations: 23.97 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.9427, allocations: 3.938 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.9431, allocations: 139.9 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.9435, allocations: 0.6729 MB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.9435, allocations: 11.42 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9435, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.002059/0.9456, allocations: 0.5386 MB / 1.173 GB, free: 13.95 MB / 0.9044 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/jenkins1/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