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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.536/2.536, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.16 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2626, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003064/0.2657, allocations: 1.789 MB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.2672, allocations: 1.025 MB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.2673, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.2678, allocations: 163.5 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.2681, allocations: 111.6 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.2685, allocations: 170.7 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.2687, allocations: 167.6 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.2688, allocations: 21.11 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.2689, allocations: 71.7 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.269, allocations: 67.75 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.269, allocations: 8 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.2692, allocations: 55.97 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.2692, allocations: 51.77 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.2693, allocations: 59.61 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.2696, allocations: 191.7 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2696, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2696, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2696, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 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.0006474/0.2703, allocations: 0.4941 MB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.2703, allocations: 12.03 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.2703, allocations: 30.75 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.2704, allocations: 16.75 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.2707, allocations: 248.8 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2707, allocations: 16.34 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2707, allocations: 7.922 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.2709, allocations: 83.33 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2709, allocations: 8 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2709, allocations: 7.984 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.271, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.271, allocations: 31.98 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.2715, allocations: 348.7 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.2717, allocations: 78.61 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.2718, allocations: 32.84 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.2718, allocations: 4 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.272, allocations: 83.31 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.272, allocations: 0 / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003245/0.2724, allocations: 145.4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.2724, allocations: 85.09 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.2727, allocations: 262.9 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2727, allocations: 33.7 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.2728, allocations: 116 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.2729, allocations: 23.66 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.2729, allocations: 33.64 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2731, allocations: 326.8 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.654e-05/0.2731, allocations: 27.98 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/0.2733, allocations: 59.41 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.2734, allocations: 73.75 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2734, allocations: 3.938 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002034/0.2736, allocations: 117.4 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2736, allocations: 4.375 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2736, allocations: 4.062 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.2737, allocations: 0 / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.2737, allocations: 16 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2737, allocations: 3.938 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.2738, allocations: 15.92 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.2738, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 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.0001256/0.274, allocations: 146.3 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.274, allocations: 15.81 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.274, allocations: 21.39 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.2741, allocations: 4 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2741, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2741, allocations: 3.938 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.2743, allocations: 229.4 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2743, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.2743, allocations: 7.938 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2743, allocations: 4 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2744, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2744, allocations: 3.984 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2744, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.2746, allocations: 144.9 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.2747, allocations: 92.91 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2747, allocations: 7.938 kB / 1.071 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.2748, allocations: 4 kB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2748, allocations: 11.92 kB / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2748, allocations: 3.984 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000191/0.275, allocations: 192.6 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.275, allocations: 8 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002214/0.2753, allocations: 28 kB / 1.072 GB, free: 6.152 MB / 0.8262 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.001851/0.2771, allocations: 1.004 MB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.2773, allocations: 83.89 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2773, allocations: 0 / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.2774, allocations: 35.98 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2777, allocations: 35.91 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.2799, allocations: 1.954 MB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2803, allocations: 0.724 MB / 1.075 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.312e-05/0.2803, allocations: 21.72 kB / 1.075 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.2804, allocations: 47.42 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2804, allocations: 0 / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5773/0.8577, allocations: 4.417 MB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.683/10.54, allocations: 12.55 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > 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