Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001907/0.001907, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.391/1.391, 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 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8734/0.8752, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003567/0.8788, allocations: 2.608 MB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.8803, allocations: 0.907 MB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.8805, allocations: 11.88 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.8807, allocations: 63 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.8809, allocations: 63.83 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.8813, allocations: 238.6 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.8818, allocations: 458.6 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.8821, allocations: 228.2 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.8823, allocations: 152 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.8825, allocations: 151.6 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.8826, allocations: 53.34 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.8827, allocations: 51.03 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.8827, allocations: 82.61 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.8829, allocations: 194.1 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.8836, allocations: 0.6193 MB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8836, allocations: 0 / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8836, allocations: 0 / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.8836, allocations: 0.75 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009307/0.8846, allocations: 0.6508 MB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8846, allocations: 12.94 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.719e-05/0.8847, allocations: 40.47 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.8852, allocations: 386.2 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.8853, allocations: 24.53 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.8853, allocations: 26.56 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.886, allocations: 335 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.886, allocations: 0 / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.886, allocations: 10.66 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.886, allocations: 6.844 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005013/0.8865, allocations: 230.8 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.8881, allocations: 1.158 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.8887, allocations: 236.2 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.8889, allocations: 98.75 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.8889, allocations: 1.719 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.8889, allocations: 41.42 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.889, allocations: 0 / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.0007456/0.8897, allocations: 297.8 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.8898, allocations: 79.02 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.8902, allocations: 325.2 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.8902, allocations: 35.11 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.8904, allocations: 200.5 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.8904, allocations: 49.94 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.8905, allocations: 44.52 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8907, allocations: 342.6 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.8909, allocations: 85 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.8911, allocations: 121 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.8915, allocations: 187.1 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8915, allocations: 0.8125 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005031/0.892, allocations: 256 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.892, allocations: 6.406 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.892, allocations: 0 / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.892, allocations: 3.297 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.8922, allocations: 35.78 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8923, allocations: 7.219 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.8924, allocations: 22.3 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.8925, allocations: 13.48 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002534/0.8927, allocations: 191.2 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001614/0.8929, allocations: 107.3 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000276/0.8932, allocations: 167.6 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.8932, allocations: 4.781 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004293/0.8936, allocations: 222.7 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.8936, allocations: 6.766 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.8936, allocations: 0.875 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-06/0.8936, allocations: 1.844 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.8938, allocations: 24.67 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.8938, allocations: 1.828 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.8939, allocations: 23.69 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.894, allocations: 8.094 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001342/0.8941, allocations: 201 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.8942, allocations: 29.53 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.8943, allocations: 40.31 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8943, allocations: 0.6562 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8943, allocations: 1.188 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.8944, allocations: 136.4 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.8945, allocations: 2.281 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.8946, allocations: 12.48 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.8947, allocations: 13.14 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006193/0.8953, allocations: 306.5 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007492/0.8961, allocations: 0.5141 MB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001926/0.8963, allocations: 91.81 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002871/0.8966, allocations: 234.9 kB / 1.102 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of Backend: time 7.82e-07/0.8966, allocations: 0 / 1.102 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00078/0.8974, allocations: 292.5 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001357/0.8988, allocations: 1.001 MB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.009506/0.9083, allocations: 4.295 MB / 1.107 GB, free: 11.29 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches