Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001339/0.001339, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001378/0.001378, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.972/2.972, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002069/0.002069, allocations: 74.23 kB / 1.15 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.145, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003707/1.149, allocations: 2.64 MB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001545/1.15, allocations: 0.9453 MB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/1.151, allocations: 12.09 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002134/1.151, allocations: 70.89 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/1.151, allocations: 64.55 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/1.151, allocations: 247.7 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003734/1.152, allocations: 457.3 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/1.152, allocations: 142.1 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/1.152, allocations: 159.9 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/1.152, allocations: 146.7 kB / 1.327 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/1.152, allocations: 47.88 kB / 1.327 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/1.152, allocations: 56.84 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/1.152, allocations: 85.11 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/1.153, allocations: 189.8 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000546/1.153, allocations: 0.6234 MB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.153, allocations: 1.125 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/1.153, allocations: 0 / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.373e-05/1.153, allocations: 0 / 1.328 GB, free: 21.21 MB / 1.061 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.0009757/1.154, allocations: 0.6543 MB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.154, allocations: 9.75 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.605e-05/1.154, allocations: 44.5 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/1.155, allocations: 390.9 kB / 1.329 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/1.155, allocations: 20.41 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/1.155, allocations: 30.53 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/1.156, allocations: 335.7 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.156, allocations: 0 / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/1.156, allocations: 10.75 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.156, allocations: 7.375 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/1.156, allocations: 240.2 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/1.158, allocations: 1.16 MB / 1.33 GB, free: 19.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/1.158, allocations: 224.9 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/1.158, allocations: 95.97 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/1.159, allocations: 2.281 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/1.159, allocations: 40.38 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.003e-06/1.159, allocations: 0.7188 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0007843/1.159, allocations: 294.1 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.159, allocations: 109 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/1.16, allocations: 333.7 kB / 1.331 GB, free: 18.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.16, allocations: 31.17 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/1.16, allocations: 200.7 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/1.16, allocations: 50.02 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/1.16, allocations: 45.23 kB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/1.16, allocations: 339.3 kB / 1.332 GB, free: 17.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/1.16, allocations: 92.47 kB / 1.332 GB, free: 17.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/1.161, allocations: 130.4 kB / 1.332 GB, free: 17.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/1.161, allocations: 195.2 kB / 1.333 GB, free: 17.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.161, allocations: 0 / 1.333 GB, free: 17.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005078/1.161, allocations: 255.5 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.161, allocations: 5.641 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.161, allocations: 1.25 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.161, allocations: 0.9375 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/1.162, allocations: 41.84 kB / 1.333 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.162, allocations: 2.281 kB / 1.333 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/1.162, allocations: 36.05 kB / 1.333 GB, free: 17.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/1.162, allocations: 3.531 kB / 1.333 GB, free: 17.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002255/1.162, allocations: 197.5 kB / 1.333 GB, free: 17.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001677/1.162, allocations: 110 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002565/1.163, allocations: 169 kB / 1.333 GB, free: 17.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/1.163, allocations: 0 / 1.333 GB, free: 17.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003756/1.163, allocations: 226.1 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/1.163, allocations: 5 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/1.163, allocations: 2.359 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/1.163, allocations: 1.625 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/1.163, allocations: 32.45 kB / 1.334 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/1.163, allocations: 2.766 kB / 1.334 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/1.163, allocations: 23.55 kB / 1.334 GB, free: 17.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/1.163, allocations: 8.469 kB / 1.334 GB, free: 17.07 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 9.02e-05/1.163, allocations: 189.6 kB / 1.334 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/1.163, allocations: 29.78 kB / 1.334 GB, free: 16.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/1.163, allocations: 35.58 kB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/1.163, allocations: 2.625 kB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.163, allocations: 4.562 kB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.163, allocations: 6.078 kB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/1.164, allocations: 404.9 kB / 1.334 GB, free: 16.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.164, allocations: 4.594 kB / 1.334 GB, free: 16.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/1.164, allocations: 28.95 kB / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.164, allocations: 0.75 kB / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/1.164, allocations: 2.312 kB / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.164, allocations: 0 / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.164, allocations: 1.953 kB / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/1.165, allocations: 447.4 kB / 1.335 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.165, allocations: 133 kB / 1.335 GB, free: 16.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/1.165, allocations: 7.234 kB / 1.335 GB, free: 16.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/1.165, allocations: 12.06 kB / 1.335 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/1.165, allocations: 13.42 kB / 1.335 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/1.165, allocations: 7.312 kB / 1.335 GB, free: 16.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002795/1.166, allocations: 236.2 kB / 1.335 GB, free: 15.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.166, allocations: 3.938 kB / 1.335 GB, free: 15.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004701/1.166, allocations: 90.92 kB / 1.335 GB, free: 15.94 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.000114/1.166, allocations: 102.2 kB / 1.335 GB, free: 15.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006762/1.167, allocations: 280.4 kB / 1.336 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.167, allocations: 0.5312 kB / 1.336 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.167, allocations: 93.3 kB / 1.336 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/1.168, allocations: 76.23 kB / 1.336 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/1.169, allocations: 0.5795 MB / 1.336 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/1.169, allocations: 0.7746 MB / 1.337 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/1.169, allocations: 21.66 kB / 1.337 GB, free: 14.59 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.169, allocations: 0.6875 kB / 1.337 GB, free: 14.59 MB / 1.061 GB Notification: Performance of Templates: time 0.008982/1.178, allocations: 3.989 MB / 1.341 GB, free: 14.1 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.761928603009437]