Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.217/2.217, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 68.98 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2529, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00269/0.2556, allocations: 1.782 MB / 1.021 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.257, allocations: 1.026 MB / 1.022 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.2571, allocations: 7.938 kB / 1.022 GB, free: 7.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.2576, allocations: 163.5 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.2578, allocations: 116.1 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2582, allocations: 172.8 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.2584, allocations: 167.6 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.2585, allocations: 29.09 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.2586, allocations: 71.69 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.2587, allocations: 67.77 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2587, allocations: 8 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.2589, allocations: 67.89 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.2589, allocations: 39.91 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.259, allocations: 59.61 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.2592, allocations: 199.3 kB / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2592, allocations: 0 / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2592, allocations: 0 / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.2593, allocations: 4 kB / 1.023 GB, free: 5.91 MB / 0.795 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.0005633/0.2598, allocations: 0.4885 MB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.2599, allocations: 8.031 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.2599, allocations: 16.75 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.2602, allocations: 248.8 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2602, allocations: 4.375 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.2602, allocations: 8.125 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2604, allocations: 91.38 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.2604, allocations: 0 / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2604, allocations: 4 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2604, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.2605, allocations: 35.92 kB / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.2609, allocations: 356.6 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.2611, allocations: 74.67 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.2612, allocations: 40.89 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2612, allocations: 3.938 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.2614, allocations: 79.39 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2614, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0002862/0.2617, allocations: 145.3 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.2617, allocations: 85.11 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.2619, allocations: 259 kB / 1.025 GB, free: 3.777 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.262, allocations: 25.7 kB / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.262, allocations: 123.9 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.2621, allocations: 27.72 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.2621, allocations: 25.72 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.2622, allocations: 334.8 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.2623, allocations: 28 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.2624, allocations: 63.34 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.2625, allocations: 73.64 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2625, allocations: 0 / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001746/0.2627, allocations: 109.4 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2627, allocations: 8 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2627, allocations: 4.062 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.2627, allocations: 0 / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.2628, allocations: 15.98 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2628, allocations: 7.938 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.2629, allocations: 11.84 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2629, allocations: 0 / 1.025 GB, free: 2.887 MB / 0.795 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 9.873e-05/0.263, allocations: 142.2 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.263, allocations: 23.8 kB / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.263, allocations: 21.39 kB / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.2631, allocations: 4 kB / 1.026 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.2631, allocations: 3.938 kB / 1.026 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2631, allocations: 3.938 kB / 1.026 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.2632, allocations: 225.5 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2633, allocations: 0 / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.2633, allocations: 7.984 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2633, allocations: 0 / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.2633, allocations: 7.984 kB / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2633, allocations: 0 / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2633, allocations: 4 kB / 1.026 GB, free: 2.398 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.2635, allocations: 144.8 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.2636, allocations: 96.92 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2636, allocations: 0 / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.2637, allocations: 4 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.2637, allocations: 3.984 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.2637, allocations: 7.938 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001585/0.2639, allocations: 196.6 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2639, allocations: 0 / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002183/0.2641, allocations: 39.89 kB / 1.026 GB, free: 1.879 MB / 0.795 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.0008386/0.2649, allocations: 422.3 kB / 1.027 GB, free: 1.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.2651, allocations: 67.98 kB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2651, allocations: 0 / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.889e-05/0.2652, allocations: 43.98 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2655, allocations: 47.89 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.2659, allocations: 287.1 kB / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.2661, allocations: 0.724 MB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.54e-05/0.2662, allocations: 21.42 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.2662, allocations: 23.42 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2662, allocations: 0 / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of Templates: time 0.004428/0.2707, allocations: 2.283 MB / 1.03 GB, free: 14.1 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches