Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.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.001531/0.001531, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.0017/0.0017, allocations: 223 kB / 23 MB, free: 4.91 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.246/3.246, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [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.002066/0.002066, allocations: 63.41 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3788, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004019/0.3828, allocations: 1.799 MB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.3849, allocations: 1.116 MB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.385, allocations: 3.938 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.3857, allocations: 167.5 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.3861, allocations: 155.5 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.3864, allocations: 146.2 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.3867, allocations: 179.5 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3868, allocations: 13.25 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3869, allocations: 71.75 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.387, allocations: 79.62 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.3871, allocations: 8 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3872, allocations: 67.94 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.3873, allocations: 51.83 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.3874, allocations: 43.73 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.3877, allocations: 215 kB / 1.369 GB, free: 9.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3877, allocations: 0 / 1.369 GB, free: 9.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3877, allocations: 0 / 1.369 GB, free: 9.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3877, allocations: 0 / 1.369 GB, free: 9.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007574/0.3885, allocations: 430.9 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3885, allocations: 12.03 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.3886, allocations: 16.84 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.3889, allocations: 194.2 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3889, allocations: 384 / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3889, allocations: 8.125 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3891, allocations: 77.59 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3891, allocations: 0 / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3891, allocations: 4 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3891, allocations: 4 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.3892, allocations: 35.92 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.3897, allocations: 288.3 kB / 1.37 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.3899, allocations: 74.61 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.39, allocations: 40.78 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.39, allocations: 3.984 kB / 1.37 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.3902, allocations: 87.36 kB / 1.37 GB, free: 8.129 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.3902, allocations: 0 / 1.37 GB, free: 8.129 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003574/0.3906, allocations: 149.5 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.3906, allocations: 55.41 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.3909, allocations: 283.8 kB / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.391, allocations: 25.7 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3911, allocations: 124.1 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.3911, allocations: 23.8 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.3912, allocations: 25.7 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3913, allocations: 338.8 kB / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.3914, allocations: 27.98 kB / 1.371 GB, free: 7.043 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3915, allocations: 80.25 kB / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.3917, allocations: 73.64 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3917, allocations: 0 / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002223/0.3919, allocations: 125.8 kB / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3919, allocations: 8.172 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3919, allocations: 3.938 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3919, allocations: 4 kB / 1.371 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.392, allocations: 11.98 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.392, allocations: 0 / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.392, allocations: 15.89 kB / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3921, allocations: 4 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001483/0.3922, allocations: 150.8 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.3922, allocations: 15.91 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.3925, allocations: 131.1 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.3925, allocations: 8 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3925, allocations: 0 / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3925, allocations: 0 / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3927, allocations: 165.1 kB / 1.372 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3927, allocations: 0 / 1.372 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.3927, allocations: 11.94 kB / 1.372 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3927, allocations: 3.984 kB / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3927, allocations: 0 / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3927, allocations: 0 / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3927, allocations: 4 kB / 1.372 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.393, allocations: 160.9 kB / 1.372 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.3931, allocations: 15.91 kB / 1.372 GB, free: 5.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3931, allocations: 4 kB / 1.372 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.603e-05/0.3931, allocations: 0 / 1.372 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3932, allocations: 11.98 kB / 1.372 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3932, allocations: 4 kB / 1.372 GB, free: 5.957 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002179/0.3934, allocations: 204.6 kB / 1.372 GB, free: 5.758 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3934, allocations: 0 / 1.372 GB, free: 5.758 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002474/0.3936, allocations: 35.89 kB / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001678/0.3953, allocations: 453.2 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.3956, allocations: 75.91 kB / 1.373 GB, free: 5.383 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3956, allocations: 0 / 1.373 GB, free: 5.383 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.3956, allocations: 40.06 kB / 1.373 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3959, allocations: 42.06 kB / 1.373 GB, free: 5.305 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.3966, allocations: 348.4 kB / 1.373 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3967, allocations: 114.6 kB / 1.373 GB, free: 4.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.3967, allocations: 23.44 kB / 1.373 GB, free: 4.777 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3967, allocations: 0 / 1.373 GB, free: 4.777 MB / 1.061 GB Notification: Performance of Templates: time 0.004974/0.4017, allocations: 2.672 MB / 1.376 GB, free: 2.113 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.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.723193428944796]