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.006572/0.006572, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001506/0.001506, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 57.19 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3131, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003839/0.317, allocations: 2.611 MB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3187, allocations: 0.8923 MB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.3189, allocations: 8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.3191, allocations: 71.33 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.3193, allocations: 63.39 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.3198, allocations: 241.2 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004136/0.3203, allocations: 467.6 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.3206, allocations: 221.1 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3207, allocations: 147.4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.3209, allocations: 147.3 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.3209, allocations: 51.94 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.6e-05/0.321, allocations: 55.94 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.3211, allocations: 87.77 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3212, allocations: 183 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.3217, allocations: 0.6268 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3217, allocations: 0 / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3217, allocations: 0 / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3217, allocations: 4 kB / 1.094 GB, free: 11.66 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.0008759/0.3226, allocations: 0.6468 MB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3227, allocations: 8.031 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.3227, allocations: 40.47 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.3232, allocations: 399.1 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3233, allocations: 20.94 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.3233, allocations: 24.38 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.3238, allocations: 337.7 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3238, allocations: 0 / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.3239, allocations: 12 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3239, allocations: 4 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.3243, allocations: 234.1 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.3257, allocations: 1.155 MB / 1.096 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.3262, allocations: 238.3 kB / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3264, allocations: 104.8 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3264, allocations: 4 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3264, allocations: 30.56 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.3264, allocations: 4 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0005921/0.327, allocations: 297.2 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3271, allocations: 77.11 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3274, allocations: 328.4 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3274, allocations: 29.7 kB / 1.097 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3276, allocations: 208 kB / 1.098 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.3276, allocations: 51.27 kB / 1.098 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.3277, allocations: 41.7 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3278, allocations: 346.8 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.328, allocations: 92.81 kB / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3282, allocations: 107.4 kB / 1.098 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.3285, allocations: 188.6 kB / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3285, allocations: 0 / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004035/0.3289, allocations: 265.1 kB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3289, allocations: 8 kB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3289, allocations: 0 / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.329, allocations: 7.984 kB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3291, allocations: 27.98 kB / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3291, allocations: 0 / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3293, allocations: 31.7 kB / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3293, allocations: 8 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002157/0.3295, allocations: 192.1 kB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001423/0.3297, allocations: 112.8 kB / 1.099 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002408/0.3299, allocations: 169.3 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.3299, allocations: 0 / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000326/0.3303, allocations: 221.2 kB / 1.099 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.3303, allocations: 8.094 kB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.3303, allocations: 4 kB / 1.099 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-06/0.3303, allocations: 0 / 1.099 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3304, allocations: 31.86 kB / 1.099 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.3304, allocations: 4 kB / 1.099 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3305, allocations: 15.83 kB / 1.099 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3306, allocations: 11.94 kB / 1.1 GB, free: 5.301 MB / 0.8575 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.000103/0.3307, allocations: 188.2 kB / 1.1 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.3307, allocations: 35.62 kB / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.3308, allocations: 35.28 kB / 1.1 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3308, allocations: 0 / 1.1 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3308, allocations: 4 kB / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3308, allocations: 3.938 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.3312, allocations: 405.3 kB / 1.1 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3312, allocations: 0 / 1.1 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.3314, allocations: 27.92 kB / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3314, allocations: 0 / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3314, allocations: 8 kB / 1.1 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3314, allocations: 3.984 kB / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3314, allocations: 8 kB / 1.1 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.332, allocations: 434.9 kB / 1.101 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3322, allocations: 132.7 kB / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.3322, allocations: 8 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3323, allocations: 12.05 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.3324, allocations: 15.92 kB / 1.101 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3324, allocations: 4 kB / 1.101 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001994/0.3326, allocations: 231.1 kB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3326, allocations: 0 / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003549/0.333, allocations: 87.69 kB / 1.101 GB, free: 3.605 MB / 0.8575 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.0001081/0.3331, allocations: 103.2 kB / 1.101 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.3336, allocations: 289.8 kB / 1.101 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3336, allocations: 0 / 1.101 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.3338, allocations: 98.02 kB / 1.102 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.3343, allocations: 86.92 kB / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009025/0.3352, allocations: 0.5433 MB / 1.102 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3355, allocations: 0.7792 MB / 1.103 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.3357, allocations: 30.27 kB / 1.103 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.3357, allocations: 27.44 kB / 1.103 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3357, allocations: 0 / 1.103 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of Templates: time 0.006/0.3417, allocations: 3.196 MB / 1.106 GB, free: 14.45 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