Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.282/3.282, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 64.97 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3632, allocations: 180.2 MB / 1.354 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004127/0.3674, allocations: 2.652 MB / 1.357 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3692, allocations: 0.9469 MB / 1.358 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.3694, allocations: 15.88 kB / 1.358 GB, free: 4.363 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.3697, allocations: 67.39 kB / 1.358 GB, free: 4.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3698, allocations: 63.41 kB / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.3704, allocations: 246.6 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.3709, allocations: 459.6 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.3712, allocations: 149.6 kB / 1.359 GB, free: 3.402 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.3714, allocations: 159.3 kB / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.3716, allocations: 151.2 kB / 1.359 GB, free: 3.098 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.3716, allocations: 52 kB / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.3717, allocations: 51.94 kB / 1.359 GB, free: 2.996 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.3718, allocations: 87.77 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.372, allocations: 187 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007014/0.3727, allocations: 0.6188 MB / 1.36 GB, free: 2.105 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3727, allocations: 0 / 1.36 GB, free: 2.105 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3727, allocations: 0 / 1.36 GB, free: 2.105 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.3727, allocations: 0 / 1.36 GB, free: 2.105 MB / 1.045 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.0009964/0.3737, allocations: 0.5868 MB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3737, allocations: 12.03 kB / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.3738, allocations: 40.7 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.3744, allocations: 338.3 kB / 1.361 GB, free: 1.078 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3744, allocations: 21.03 kB / 1.361 GB, free: 1.059 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.3744, allocations: 28.33 kB / 1.361 GB, free: 1.031 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.375, allocations: 332 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3751, allocations: 0 / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.3751, allocations: 19.98 kB / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.3751, allocations: 8 kB / 1.361 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.3756, allocations: 234.5 kB / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.3772, allocations: 1.125 MB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.3777, allocations: 222.8 kB / 1.363 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.3779, allocations: 96.86 kB / 1.363 GB, free: 14.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3779, allocations: 0 / 1.363 GB, free: 14.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3779, allocations: 42.5 kB / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.3779, allocations: 0 / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0006702/0.3786, allocations: 294.8 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.3787, allocations: 102.8 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.3791, allocations: 336.4 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3791, allocations: 33.7 kB / 1.364 GB, free: 14.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3792, allocations: 204.2 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.3793, allocations: 51.58 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.3794, allocations: 49.66 kB / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3795, allocations: 338.8 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3797, allocations: 84.83 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3799, allocations: 126.1 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.3803, allocations: 196.1 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3803, allocations: 0 / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004691/0.3808, allocations: 249.4 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3808, allocations: 11.98 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3808, allocations: 4.062 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3808, allocations: 3.938 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.381, allocations: 27.98 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.381, allocations: 4 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.3812, allocations: 39.7 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3812, allocations: 4 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002509/0.3814, allocations: 196.8 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001693/0.3816, allocations: 112.2 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002749/0.3819, allocations: 172.2 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.3819, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.00037/0.3823, allocations: 223.9 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.3823, allocations: 8.094 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3823, allocations: 4 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.3823, allocations: 0 / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3824, allocations: 31.92 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.3824, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3825, allocations: 23.88 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3825, allocations: 7.938 kB / 1.366 GB, free: 11.87 MB / 1.061 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.0001356/0.3827, allocations: 196.1 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.3827, allocations: 31.77 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.186e-05/0.3828, allocations: 39.22 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3828, allocations: 4 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3828, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3828, allocations: 3.938 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.3833, allocations: 376.4 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3833, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.3835, allocations: 31.98 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3835, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3835, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3835, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3835, allocations: 4 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.3842, allocations: 452.9 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.3843, allocations: 55.72 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.3844, allocations: 8 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3845, allocations: 8.062 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.3846, allocations: 19.91 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3846, allocations: 4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002457/0.3848, allocations: 235.1 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3848, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003982/0.3852, allocations: 91.73 kB / 1.367 GB, free: 10.28 MB / 1.061 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.0001237/0.3854, allocations: 99.19 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006015/0.386, allocations: 271.8 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.386, allocations: 0 / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.3861, allocations: 99.77 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.3867, allocations: 89.03 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3878, allocations: 0.5795 MB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.3882, allocations: 0.783 MB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.3883, allocations: 19.44 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of SimCode: time 1.243e-06/0.3883, allocations: 0 / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of Templates: time 0.006927/0.3952, allocations: 3.987 MB / 1.373 GB, free: 4.312 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.458489539974835]