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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006501/0.006501, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001384/0.001384, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3128, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00343/0.3163, allocations: 1.774 MB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3183, allocations: 1.025 MB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3184, allocations: 3.938 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.3192, allocations: 159.5 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.3196, allocations: 119.6 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.3202, allocations: 173.5 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.3206, allocations: 167.6 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3207, allocations: 29.05 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3209, allocations: 67.75 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.321, allocations: 67.75 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.3211, allocations: 8 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.3212, allocations: 63.91 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.3213, allocations: 47.83 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.418e-05/0.3214, allocations: 59.61 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.3218, allocations: 199.3 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3218, allocations: 0 / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3218, allocations: 0 / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.3218, allocations: 0 / 1.212 GB, free: 5.652 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.0008526/0.3227, allocations: 492.3 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3227, allocations: 15.97 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.3228, allocations: 16.75 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.3232, allocations: 248.8 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3232, allocations: 8.375 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.3232, allocations: 8.125 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.3234, allocations: 91.31 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3234, allocations: 0 / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3235, allocations: 4 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.3235, allocations: 4 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3236, allocations: 35.92 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.3242, allocations: 348.7 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3244, allocations: 74.67 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.3245, allocations: 44.78 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3245, allocations: 7.984 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.3247, allocations: 83.36 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.3247, allocations: 0 / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003606/0.3251, allocations: 141.7 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3251, allocations: 81.11 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.3254, allocations: 268.1 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3254, allocations: 25.7 kB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.3255, allocations: 116.1 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.3255, allocations: 27.64 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.3256, allocations: 21.72 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3257, allocations: 334.8 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.3258, allocations: 27.98 kB / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.3259, allocations: 67.47 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.326, allocations: 69.64 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3261, allocations: 0 / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002172/0.3263, allocations: 117.4 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3263, allocations: 4 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3263, allocations: 4.062 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3263, allocations: 4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.3264, allocations: 15.98 kB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3264, allocations: 3.938 kB / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.3265, allocations: 7.938 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3265, allocations: 4 kB / 1.214 GB, free: 2.625 MB / 0.9669 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.0001296/0.3267, allocations: 142.3 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3267, allocations: 19.72 kB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.3268, allocations: 25.39 kB / 1.214 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3268, allocations: 0 / 1.214 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3268, allocations: 0 / 1.214 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.3268, allocations: 3.938 kB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.327, allocations: 225.5 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.327, allocations: 4.078 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.327, allocations: 7.938 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.327, allocations: 0 / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.327, allocations: 0 / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.327, allocations: 0 / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3271, allocations: 0 / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.3273, allocations: 152.8 kB / 1.215 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.3274, allocations: 92.92 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.3274, allocations: 0 / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.3275, allocations: 8 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3275, allocations: 11.97 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3275, allocations: 3.938 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001836/0.3277, allocations: 203.3 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3277, allocations: 7.938 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002481/0.328, allocations: 28 kB / 1.215 GB, free: 1.609 MB / 0.9669 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.0009927/0.329, allocations: 412.4 kB / 1.216 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3292, allocations: 75.95 kB / 1.216 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3292, allocations: 0 / 1.216 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.3293, allocations: 44.06 kB / 1.216 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.3296, allocations: 47.7 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.3302, allocations: 299 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3305, allocations: 0.7162 MB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.782e-05/0.3306, allocations: 29.41 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.3307, allocations: 23.42 kB / 1.217 GB, free: 84 kB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3307, allocations: 0 / 1.217 GB, free: 84 kB / 0.9669 GB Notification: Performance of Templates: time 0.005985/0.3367, allocations: 2.295 MB / 1.219 GB, free: 13.81 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) 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) Reference file matches