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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007848/0.007848, allocations: 105 kB / 15.74 MB, free: 5.992 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.001275/0.001275, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.306/1.306, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.89 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.005471/1.037, allocations: 2.619 MB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003484/1.04, allocations: 0.9042 MB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/1.041, allocations: 12.06 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003912/1.041, allocations: 62.44 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/1.042, allocations: 61.67 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/1.043, allocations: 235.6 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008852/1.044, allocations: 453.6 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/1.044, allocations: 224.6 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/1.044, allocations: 150.3 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/1.045, allocations: 151.1 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/1.045, allocations: 50.06 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/1.045, allocations: 49.84 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/1.045, allocations: 83.44 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/1.045, allocations: 198.2 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/1.046, allocations: 0.6138 MB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.046, allocations: 0 / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.899e-06/1.046, allocations: 0.6094 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.156e-05/1.047, allocations: 1.062 kB / 1.094 GB, free: 1.727 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.001234/1.048, allocations: 0.6567 MB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/1.048, allocations: 9.688 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/1.048, allocations: 40.19 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/1.049, allocations: 386.2 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/1.049, allocations: 20.53 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/1.049, allocations: 31.17 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/1.049, allocations: 329.4 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.049, allocations: 0.75 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/1.05, allocations: 11.08 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/1.05, allocations: 6.562 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/1.05, allocations: 246.8 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/1.052, allocations: 1.146 MB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/1.053, allocations: 242 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/1.053, allocations: 95.22 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/1.053, allocations: 5.062 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/1.053, allocations: 33.05 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/1.053, allocations: 0 / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.0007892/1.054, allocations: 301.4 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/1.054, allocations: 80.47 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/1.054, allocations: 332.8 kB / 1.097 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/1.054, allocations: 30.89 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/1.055, allocations: 196.1 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/1.055, allocations: 55.16 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/1.055, allocations: 39.06 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.055, allocations: 343.5 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/1.055, allocations: 85.83 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.055, allocations: 120.4 kB / 1.098 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/1.056, allocations: 187.8 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.056, allocations: 4.031 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004906/1.056, allocations: 252.9 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.056, allocations: 4.5 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.056, allocations: 2.734 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.056, allocations: 1.125 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/1.057, allocations: 36.38 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.057, allocations: 2.266 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/1.057, allocations: 27.5 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/1.057, allocations: 4.5 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002415/1.057, allocations: 195.8 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001679/1.057, allocations: 106.2 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002713/1.057, allocations: 172 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/1.057, allocations: 0 / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003874/1.058, allocations: 223.5 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/1.058, allocations: 5.406 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/1.058, allocations: 1 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-06/1.058, allocations: 2.766 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/1.058, allocations: 27.88 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/1.058, allocations: 6.75 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/1.058, allocations: 23.19 kB / 1.099 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.058, allocations: 16.14 kB / 1.099 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.0001089/1.058, allocations: 188 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/1.058, allocations: 31.42 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.149e-05/1.058, allocations: 32.62 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.058, allocations: 0.75 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.058, allocations: 0.8125 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/1.058, allocations: 9.281 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/1.059, allocations: 413.2 kB / 1.1 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.059, allocations: 4.656 kB / 1.1 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/1.059, allocations: 30.03 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.059, allocations: 0 / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/1.059, allocations: 5.031 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.059, allocations: 1.828 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.059, allocations: 0 / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/1.06, allocations: 442.3 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/1.06, allocations: 129.3 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/1.06, allocations: 2.984 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.06, allocations: 10.94 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/1.06, allocations: 17.98 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.06, allocations: 2.438 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002827/1.061, allocations: 240.3 kB / 1.101 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.061, allocations: 0 / 1.101 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003954/1.061, allocations: 95.91 kB / 1.101 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.0001213/1.061, allocations: 97.34 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006584/1.062, allocations: 286.7 kB / 1.101 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.062, allocations: 0 / 1.101 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/1.062, allocations: 100.4 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/1.063, allocations: 87.44 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/1.064, allocations: 0.5506 MB / 1.102 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.064, allocations: 0.7776 MB / 1.103 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001365/1.064, allocations: 29.42 kB / 1.103 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/1.064, allocations: 20.56 kB / 1.103 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.064, allocations: 1.25 kB / 1.103 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.007639/1.072, allocations: 3.151 MB / 1.106 GB, free: 10.96 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/jenkins/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