Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001826/0.001827, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.002695/0.002696, allocations: 183.9 kB / 17.35 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.919/1.919, allocations: 222.9 MB / 241.1 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.53/2.53, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 68.12 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9884/0.9899, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003999/0.994, allocations: 2.616 MB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.9956, allocations: 0.9002 MB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.9959, allocations: 15.88 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.9961, allocations: 67.38 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.9963, allocations: 67.34 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.9968, allocations: 238.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.9972, allocations: 455.6 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.9976, allocations: 226 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.9977, allocations: 151.3 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.9979, allocations: 151.2 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.998, allocations: 48 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.998, allocations: 52 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.9981, allocations: 87.7 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.9983, allocations: 187 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005593/0.9988, allocations: 0.6267 MB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9988, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9988, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.9989, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 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.0009455/0.9998, allocations: 0.6447 MB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.913e-05/0.9999, allocations: 15.92 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/1, allocations: 40.47 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/1.001, allocations: 395.2 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/1.001, allocations: 24.94 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/1.001, allocations: 24.38 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/1.001, allocations: 329.7 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.001, allocations: 0 / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/1.001, allocations: 8 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.001, allocations: 8 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/1.002, allocations: 242.1 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/1.003, allocations: 1.151 MB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/1.004, allocations: 226.8 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/1.004, allocations: 96.83 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/1.004, allocations: 7.984 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.004, allocations: 34.56 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/1.004, allocations: 0 / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0006579/1.005, allocations: 305.1 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.005, allocations: 81.11 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/1.005, allocations: 324.5 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/1.005, allocations: 29.7 kB / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/1.005, allocations: 200 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/1.005, allocations: 55.2 kB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/1.005, allocations: 41.66 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.006, allocations: 346.7 kB / 1.177 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/1.006, allocations: 88.83 kB / 1.178 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/1.006, allocations: 117.5 kB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/1.006, allocations: 192.7 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.006, allocations: 0 / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004494/1.007, allocations: 253.1 kB / 1.178 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.007, allocations: 8 kB / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.007, allocations: 0 / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.007, allocations: 0 / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/1.007, allocations: 39.98 kB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.007, allocations: 3.938 kB / 1.178 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/1.007, allocations: 31.67 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/1.007, allocations: 4 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002548/1.008, allocations: 196.1 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001484/1.008, allocations: 99.39 kB / 1.178 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000335/1.008, allocations: 169 kB / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/1.008, allocations: 0 / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003502/1.008, allocations: 225.1 kB / 1.179 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.008, allocations: 10.33 kB / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/1.008, allocations: 0 / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/1.008, allocations: 4 kB / 1.179 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.009, allocations: 28.06 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.009, allocations: 7.938 kB / 1.179 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/1.009, allocations: 11.92 kB / 1.179 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/1.009, allocations: 12 kB / 1.179 GB, free: 7.684 MB / 0.9044 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.0001323/1.009, allocations: 188.2 kB / 1.179 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/1.009, allocations: 31.62 kB / 1.179 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/1.009, allocations: 35.28 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.009, allocations: 0 / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.009, allocations: 0 / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/1.009, allocations: 140.6 kB / 1.179 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/1.009, allocations: 8 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.009, allocations: 7.984 kB / 1.179 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/1.009, allocations: 11.98 kB / 1.179 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006197/1.01, allocations: 303.2 kB / 1.18 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000803/1.011, allocations: 0.5177 MB / 1.18 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002085/1.011, allocations: 91.98 kB / 1.18 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003117/1.011, allocations: 235.1 kB / 1.18 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of Backend: time 1.382e-06/1.011, allocations: 8 kB / 1.18 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009099/1.012, allocations: 284.6 kB / 1.181 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001596/1.014, allocations: 1.012 MB / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of Templates: time 0.009406/1.023, allocations: 4.299 MB / 1.186 GB, free: 492 kB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches