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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001099/0.001099, allocations: 86.56 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.001375/0.001375, 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.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 16 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8776, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001088/0.8787, allocations: 402.2 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.8799, allocations: 0.8079 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.8799, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.88, allocations: 3.938 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.88, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.8802, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.823e-05/0.8803, allocations: 23.92 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.8804, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.8805, allocations: 19.91 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.8805, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.8805, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-06/0.8806, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.8806, allocations: 3.984 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.8806, allocations: 37.64 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.115e-05/0.8807, allocations: 11.97 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8807, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8807, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.8807, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 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.0004713/0.8812, allocations: 337.3 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.8812, allocations: 8.562 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.8813, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.8814, allocations: 167.1 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.8814, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.8815, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.8817, allocations: 57.62 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.8817, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8817, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8817, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.8819, allocations: 51.89 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.8823, allocations: 248.8 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.8824, allocations: 46.5 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.8825, allocations: 28.89 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.8826, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.8826, allocations: 34.56 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.8826, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003958/0.883, allocations: 93.58 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.8831, allocations: 59.53 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.8832, allocations: 97.86 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.8832, allocations: 25.7 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.8833, allocations: 92.06 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.8833, allocations: 7.844 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.8833, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.8835, allocations: 314.8 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.8836, allocations: 23.98 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.8837, allocations: 23.97 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.701e-05/0.8838, allocations: 19.98 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8838, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002113/0.884, allocations: 85.62 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.884, allocations: 4 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.884, allocations: 3.984 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.8841, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.8842, allocations: 12.03 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.8842, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.8843, allocations: 11.98 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.8843, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 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 0.0001021/0.8844, allocations: 105.8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.8844, allocations: 11.95 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.8847, allocations: 84.91 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.8847, allocations: 3.984 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8847, allocations: 3.984 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8847, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.8849, allocations: 165.6 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.8849, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.885, allocations: 16.02 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.28e-05/0.885, allocations: 3.953 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.885, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.885, allocations: 7.938 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.885, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.8853, allocations: 171.5 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.8853, allocations: 77.11 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.8853, allocations: 3.953 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.8854, allocations: 11.98 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.8855, allocations: 3.938 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.8855, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.8855, allocations: 91.3 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8855, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002101/0.8858, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 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.0001659/0.8859, allocations: 105.6 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8861, allocations: 43.97 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8862, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.074e-05/0.8862, allocations: 31.97 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.8865, allocations: 3.938 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.8869, allocations: 122.4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.8872, allocations: 0.677 MB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.8873, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.8873, allocations: 7.438 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of SimCode: time 6.91e-07/0.8873, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.002512/0.8898, allocations: 352.4 kB / 1.028 GB, free: 10.43 MB / 0.7794 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