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.0008851/0.0008851, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008205/0.0008205, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8967/0.8967, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.802/1.802, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.416e-05, allocations: 5.234 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00334/0.003365, allocations: 1.778 MB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.004719, allocations: 1.118 MB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.004801, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005375/0.005339, allocations: 167.4 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.005646, allocations: 175.2 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.005909, allocations: 135.5 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.006095, allocations: 175.5 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.006203, allocations: 17.3 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.006317, allocations: 99.72 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.262e-05/0.006409, allocations: 71.8 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.006434, allocations: 12 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.006559, allocations: 67.88 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.006627, allocations: 51.83 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.006672, allocations: 31.86 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.00691, allocations: 211.2 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.006914, allocations: 4 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006914, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.006919, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 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.0005504/0.007469, allocations: 426.9 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.007507, allocations: 13.28 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.007554, allocations: 20.84 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.007777, allocations: 193.4 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.007792, allocations: 4.312 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.007803, allocations: 4.375 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.007939, allocations: 78.2 kB / 1.006 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.007949, allocations: 3.938 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.00796, allocations: 4 kB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.007969, allocations: 4 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.658e-05/0.008035, allocations: 31.98 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.008657, allocations: 296.4 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.008784, allocations: 78.59 kB / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.008826, allocations: 32.84 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.008838, allocations: 0 / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.008956, allocations: 83.33 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.008957, allocations: 3.938 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002673/0.009224, allocations: 149.5 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.009259, allocations: 51.41 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.009448, allocations: 283.2 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.009461, allocations: 29.7 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.00952, allocations: 120.1 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.009544, allocations: 27.78 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.009577, allocations: 25.7 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.009654, allocations: 326.8 kB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.009697, allocations: 27.98 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.00976, allocations: 88.3 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.00984, allocations: 77.58 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.009842, allocations: 32 / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001238/0.009966, allocations: 125.5 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.009978, allocations: 4 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.009985, allocations: 4 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.009998, allocations: 7.984 kB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.01005, allocations: 8.375 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.01006, allocations: 0 / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.01009, allocations: 8 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.01009, allocations: 4 kB / 1.007 GB, free: 6.102 MB / 0.9636 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 8.857e-05/0.01018, allocations: 157.7 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.0102, allocations: 19.86 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.01037, allocations: 123.3 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.01037, allocations: 8 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01038, allocations: 0 / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01038, allocations: 0 / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.0105, allocations: 169.1 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.0105, allocations: 4 kB / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.01052, allocations: 4 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01052, allocations: 3.984 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.01053, allocations: 4 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.01053, allocations: 0 / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01053, allocations: 80 / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.01066, allocations: 160.9 kB / 1.008 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.01068, allocations: 19.86 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.0107, allocations: 4 kB / 1.008 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.01072, allocations: 0 / 1.008 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.01075, allocations: 7.984 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01076, allocations: 4 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001258/0.01089, allocations: 203.2 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01089, allocations: 4 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001626/0.01105, allocations: 31.94 kB / 1.008 GB, free: 5.125 MB / 0.9636 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.0007311/0.01178, allocations: 461.8 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.01194, allocations: 75.91 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01194, allocations: 0 / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.01199, allocations: 39.91 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.01218, allocations: 43.12 kB / 1.009 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.01261, allocations: 336 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.178e-05/0.01269, allocations: 114.7 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.01272, allocations: 20.5 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.01272, allocations: 0 / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of Templates: time 0.003165/0.01589, allocations: 2.684 MB / 1.012 GB, free: 1.516 MB / 0.9636 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/jenkins/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: 7.292514471337199]