Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 198.7 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 67.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9787/0.9815, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003689/0.9852, allocations: 1.805 MB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.9871, allocations: 1.05 MB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.9872, allocations: 0 / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.9879, allocations: 167.5 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.9882, allocations: 123.5 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.9888, allocations: 167.5 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.989, allocations: 163.6 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.9892, allocations: 17.11 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.9893, allocations: 71.75 kB / 1.278 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.9894, allocations: 75.69 kB / 1.278 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.9895, allocations: 8 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.9896, allocations: 59.95 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.9897, allocations: 43.84 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.303e-05/0.9898, allocations: 67.53 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.9902, allocations: 201.9 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9902, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9902, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9902, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 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.0008668/0.9911, allocations: 0.4962 MB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.9911, allocations: 8.031 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.9911, allocations: 16.84 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.9915, allocations: 252.9 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.9915, allocations: 384 / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.9916, allocations: 8.125 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.9918, allocations: 91.31 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.9918, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.9918, allocations: 4 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.9918, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.9919, allocations: 39.97 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.9925, allocations: 348.7 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.9927, allocations: 70.61 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.9928, allocations: 36.84 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.9928, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.993, allocations: 87.36 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.993, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003672/0.9934, allocations: 141.4 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.9934, allocations: 85.11 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.9937, allocations: 262.9 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.9937, allocations: 25.81 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.9938, allocations: 124 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.9939, allocations: 27.83 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.9939, allocations: 37.64 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.9941, allocations: 326.8 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.9941, allocations: 27.98 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.9942, allocations: 59.42 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.9944, allocations: 73.69 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.9944, allocations: 7.938 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000222/0.9946, allocations: 109.5 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.9946, allocations: 11.98 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9946, allocations: 0 / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.9946, allocations: 64 / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.9947, allocations: 12 kB / 1.281 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.9947, allocations: 4 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.9948, allocations: 15.83 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.9948, allocations: 4 kB / 1.281 GB, free: 13.5 MB / 0.9825 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.0001474/0.9949, allocations: 150.3 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.995, allocations: 12.28 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.9952, allocations: 126.9 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.9953, allocations: 8 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9953, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.9953, allocations: 3.938 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.9955, allocations: 225.6 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.9955, allocations: 3.938 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.9955, allocations: 3.984 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.9955, allocations: 4 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.9955, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9955, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9955, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.9958, allocations: 160.8 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.9959, allocations: 93 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.9959, allocations: 0 / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.434e-05/0.996, allocations: 4 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.996, allocations: 11.98 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.996, allocations: 3.938 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001949/0.9962, allocations: 191 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9962, allocations: 8 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002544/0.9965, allocations: 31.92 kB / 1.282 GB, free: 12.38 MB / 0.9825 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 (7): * Single equations (assignments): 4 * 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.001578/0.998, allocations: 431.6 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.9983, allocations: 67.97 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9983, allocations: 3.938 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.9984, allocations: 31.98 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.9987, allocations: 40.03 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/0.9994, allocations: 306.7 kB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.9997, allocations: 0.724 MB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.816e-05/0.9998, allocations: 29.66 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.9999, allocations: 15.44 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.9999, allocations: 4 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.00642/1.006, allocations: 2.318 MB / 1.286 GB, free: 8.555 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.996599846053869]