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) 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.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_11_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.005798/0.005798, allocations: 97.69 kB / 15.73 MB, free: 6.039 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.001318/0.001318, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.911/2.911, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.83 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3307, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00312/0.3339, allocations: 1.782 MB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3354, allocations: 1.029 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.3355, allocations: 4 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.336, allocations: 159.5 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.3363, allocations: 119.6 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.3367, allocations: 171.1 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.3369, allocations: 163.6 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.337, allocations: 9.125 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.906e-05/0.3371, allocations: 79.69 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3372, allocations: 71.75 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3372, allocations: 8 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3373, allocations: 55.95 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.3374, allocations: 43.78 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.3375, allocations: 71.59 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.3377, allocations: 191.2 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3377, allocations: 0 / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3377, allocations: 0 / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3378, allocations: 0 / 1.224 GB, free: 9.848 MB / 0.9825 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.0006512/0.3384, allocations: 0.506 MB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.3384, allocations: 8.031 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.3385, allocations: 16.84 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.3388, allocations: 249 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3388, allocations: 384 / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3388, allocations: 16.11 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.339, allocations: 87.27 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.339, allocations: 4 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.339, allocations: 3.984 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.339, allocations: 4 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3391, allocations: 35.98 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.3396, allocations: 352.6 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3398, allocations: 74.61 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.3398, allocations: 32.84 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3398, allocations: 0 / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.34, allocations: 83.31 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.34, allocations: 112 / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003316/0.3403, allocations: 145.5 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3404, allocations: 77.11 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.3406, allocations: 270.9 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.3407, allocations: 29.7 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.3407, allocations: 116.1 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.3408, allocations: 27.78 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.3408, allocations: 33.7 kB / 1.227 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3409, allocations: 330.8 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.341, allocations: 27.98 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.3411, allocations: 63.41 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3412, allocations: 77.95 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3412, allocations: 0 / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001961/0.3414, allocations: 113.5 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3414, allocations: 5.875 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3414, allocations: 4 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3415, allocations: 4.062 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.3415, allocations: 8 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3415, allocations: 0 / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.3416, allocations: 19.88 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3416, allocations: 4 kB / 1.227 GB, free: 6.801 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.0001724/0.3418, allocations: 142.3 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.3418, allocations: 15.91 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.3419, allocations: 21.39 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.3419, allocations: 11.98 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3419, allocations: 0 / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3419, allocations: 3.938 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3421, allocations: 221.5 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3421, allocations: 0 / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.3421, allocations: 4 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3421, allocations: 3.938 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3421, allocations: 8 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3421, allocations: 4.141 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3421, allocations: 0 / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.3423, allocations: 152.8 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.3424, allocations: 92.95 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.3424, allocations: 11.98 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.3425, allocations: 0 / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3425, allocations: 7.984 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3425, allocations: 11.94 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002458/0.3428, allocations: 196.4 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3428, allocations: 7.938 kB / 1.228 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002443/0.343, allocations: 27.94 kB / 1.228 GB, free: 5.773 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.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.0009709/0.344, allocations: 414.8 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.3442, allocations: 67.91 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3442, allocations: 0 / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.3443, allocations: 35.92 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3446, allocations: 43.75 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.3452, allocations: 310.5 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.3457, allocations: 0.7201 MB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.871e-05/0.3458, allocations: 33.72 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.3458, allocations: 19.44 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3458, allocations: 0 / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of Templates: time 0.006002/0.3518, allocations: 2.297 MB / 1.232 GB, free: 1.969 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches