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.001527/0.001527, allocations: 105.2 kB / 16.4 MB, free: 6.508 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.002274/0.002274, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.15 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.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 55.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, 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.005767/1.067, allocations: 2.615 MB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002134/1.069, allocations: 0.9016 MB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/1.069, allocations: 8.031 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/1.069, allocations: 69.94 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/1.069, allocations: 62.86 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/1.07, allocations: 231.3 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006678/1.071, allocations: 456.8 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/1.071, allocations: 232.8 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/1.072, allocations: 143.8 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/1.072, allocations: 147.9 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/1.072, allocations: 49 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/1.072, allocations: 54.5 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/1.072, allocations: 95.17 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/1.073, allocations: 186.2 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/1.074, allocations: 0.6189 MB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.074, allocations: 0.75 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.346e-06/1.074, allocations: 0 / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.074, allocations: 4 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.001472/1.075, allocations: 0.6511 MB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.135e-05/1.075, allocations: 9.531 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/1.076, allocations: 40.62 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/1.076, allocations: 390.2 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/1.076, allocations: 25.94 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/1.077, allocations: 29.78 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/1.077, allocations: 325.7 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.077, allocations: 0.6562 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/1.077, allocations: 10.69 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/1.077, allocations: 7.578 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/1.078, allocations: 234 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/1.08, allocations: 1.161 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/1.081, allocations: 230.9 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/1.081, allocations: 101.9 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/1.081, allocations: 2.406 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.081, allocations: 33.02 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/1.081, allocations: 4 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.0008617/1.082, allocations: 299.3 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/1.082, allocations: 79.97 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/1.083, allocations: 330.4 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/1.083, allocations: 27.2 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/1.083, allocations: 195.5 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.355e-05/1.083, allocations: 58.02 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.083, allocations: 39.56 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002432/1.084, allocations: 343.6 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/1.084, allocations: 88.55 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/1.084, allocations: 117.9 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/1.085, allocations: 187 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.085, allocations: 0 / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005877/1.085, allocations: 256.2 kB / 1.099 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.085, allocations: 5.922 kB / 1.099 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.085, allocations: 4.688 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.085, allocations: 2.156 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/1.086, allocations: 28.98 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.086, allocations: 2.188 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/1.086, allocations: 31.98 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/1.086, allocations: 7.875 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002958/1.086, allocations: 196.3 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002424/1.086, allocations: 111.6 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003069/1.087, allocations: 167.6 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/1.087, allocations: 0 / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004109/1.087, allocations: 227.4 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/1.087, allocations: 5.906 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.087, allocations: 1.656 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/1.087, allocations: 1.188 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.087, allocations: 29.12 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.087, allocations: 1.688 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/1.087, allocations: 23.73 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/1.088, allocations: 7.562 kB / 1.1 GB, free: 13.66 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.0001408/1.088, allocations: 195.4 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/1.088, allocations: 33.98 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.623e-05/1.088, allocations: 32.2 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.088, allocations: 1.75 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.088, allocations: 0.7188 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.088, allocations: 5.203 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/1.088, allocations: 413.4 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.088, allocations: 0.7031 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/1.089, allocations: 24.75 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.089, allocations: 0.75 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.089, allocations: 2.422 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/1.089, allocations: 4.531 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.089, allocations: 1 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/1.09, allocations: 437.9 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.09, allocations: 131.8 kB / 1.101 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/1.09, allocations: 2.859 kB / 1.101 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/1.09, allocations: 15.75 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/1.09, allocations: 17.59 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/1.09, allocations: 3.219 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002996/1.09, allocations: 239.4 kB / 1.102 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.09, allocations: 0.6562 kB / 1.102 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004847/1.091, allocations: 91.81 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001437/1.091, allocations: 97.14 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007037/1.092, allocations: 295 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.092, allocations: 1.344 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/1.092, allocations: 94.69 kB / 1.102 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/1.093, allocations: 89.11 kB / 1.102 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/1.094, allocations: 0.583 MB / 1.103 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/1.094, allocations: 0.775 MB / 1.104 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/1.095, allocations: 21.53 kB / 1.104 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of SimCode: time 7.72e-07/1.095, allocations: 0 / 1.104 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.00998/1.105, allocations: 3.987 MB / 1.108 GB, free: 10.7 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