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.00153/0.00153, allocations: 105.1 kB / 15.99 MB, free: 6.355 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.001558/0.001558, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.431/1.431, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001974, allocations: 65.67 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003942/0.3121, allocations: 1.831 MB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3138, allocations: 1.013 MB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.3139, allocations: 3.938 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.3146, allocations: 163.6 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.3149, allocations: 111 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.3153, allocations: 147.7 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.3155, allocations: 163.6 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3156, allocations: 17.12 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3157, allocations: 79.69 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3159, allocations: 63.77 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3159, allocations: 8 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.316, allocations: 71.83 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.3161, allocations: 39.91 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.3162, allocations: 59.61 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3164, allocations: 156 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3164, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3164, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.3165, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 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.0007361/0.3172, allocations: 0.4924 MB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3172, allocations: 8.625 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.3173, allocations: 16.75 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3176, allocations: 252.8 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3176, allocations: 384 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3177, allocations: 8.125 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.3179, allocations: 87.38 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3179, allocations: 7.938 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.3179, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.318, allocations: 7.984 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3181, allocations: 39.98 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.3186, allocations: 344.6 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.3188, allocations: 86.61 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.737e-05/0.3189, allocations: 36.83 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3189, allocations: 0 / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.3191, allocations: 79.38 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.3191, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0003673/0.3195, allocations: 149.3 kB / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3196, allocations: 85.11 kB / 1.07 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3199, allocations: 256.2 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3199, allocations: 25.7 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.32, allocations: 124 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.32, allocations: 23.66 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.3201, allocations: 29.7 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3202, allocations: 330.8 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.3203, allocations: 31.92 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/0.3204, allocations: 63.36 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.3206, allocations: 73.69 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3206, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002129/0.3208, allocations: 113.4 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3208, allocations: 4 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3208, allocations: 8.062 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3209, allocations: 3.938 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.3209, allocations: 8 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3209, allocations: 0 / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.321, allocations: 15.91 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.321, allocations: 4 kB / 1.071 GB, free: 8.16 MB / 0.8419 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.0001328/0.3212, allocations: 138.2 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.3212, allocations: 15.81 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.3213, allocations: 21.52 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.3213, allocations: 15.92 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3213, allocations: 3.938 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3213, allocations: 3.938 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.3215, allocations: 221.4 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3215, allocations: 0 / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.3216, allocations: 7.938 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3216, allocations: 0 / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3216, allocations: 4 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3216, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3216, allocations: 4 kB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3219, allocations: 148.8 kB / 1.071 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.322, allocations: 88.92 kB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.322, allocations: 4 kB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.3221, allocations: 3.984 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.3221, allocations: 11.94 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3221, allocations: 11.92 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000201/0.3223, allocations: 195.3 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3223, allocations: 0 / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002475/0.3226, allocations: 31.98 kB / 1.072 GB, free: 7.148 MB / 0.8419 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.00155/0.3241, allocations: 426.9 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3244, allocations: 75.91 kB / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3244, allocations: 0 / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.407e-05/0.3245, allocations: 43.97 kB / 1.072 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.3248, allocations: 47.59 kB / 1.072 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.3254, allocations: 356.7 kB / 1.072 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3258, allocations: 0.7278 MB / 1.073 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.3258, allocations: 15.44 kB / 1.073 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3258, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of Templates: time 0.00495/0.3308, allocations: 2.558 MB / 1.076 GB, free: 3.031 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches