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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_10_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.006341/0.006341, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001426/0.001426, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437.1 MB / 0.7106 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 63.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2615, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002737/0.2642, allocations: 1.79 MB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.2657, allocations: 1.014 MB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.2658, allocations: 4 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.2662, allocations: 163.5 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.2665, allocations: 115.6 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.2669, allocations: 167.2 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.2671, allocations: 175.6 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.2672, allocations: 21.09 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.2673, allocations: 71.69 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2674, allocations: 71.75 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2674, allocations: 8 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.2675, allocations: 63.91 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.2676, allocations: 39.89 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.2677, allocations: 59.61 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.2679, allocations: 195.5 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2679, allocations: 4 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2679, allocations: 0 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2679, allocations: 3.938 kB / 1.17 GB, free: 3.281 MB / 0.92 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.0005897/0.2685, allocations: 0.496 MB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.2686, allocations: 8.031 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.2686, allocations: 42.73 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.2687, allocations: 16.84 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.2689, allocations: 245 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2689, allocations: 8.375 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.269, allocations: 7.938 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2691, allocations: 91.31 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2692, allocations: 3.938 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2692, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.2692, allocations: 7.984 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/0.2693, allocations: 35.98 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.2697, allocations: 348.7 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.2699, allocations: 78.67 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.27, allocations: 32.84 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.27, allocations: 4 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.2701, allocations: 91.25 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.2702, allocations: 0 / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0003007/0.2705, allocations: 145.5 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.2705, allocations: 81.11 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.2708, allocations: 266.7 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2708, allocations: 29.69 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.2709, allocations: 120.1 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.2709, allocations: 23.8 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.271, allocations: 29.7 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2711, allocations: 330.8 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.2712, allocations: 23.98 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.2713, allocations: 59.42 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.2714, allocations: 73.62 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2714, allocations: 4.031 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001893/0.2716, allocations: 117.5 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2716, allocations: 5.875 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2716, allocations: 384 / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.2716, allocations: 4 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.2717, allocations: 8.109 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2717, allocations: 3.938 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.2718, allocations: 19.81 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.2718, allocations: 4 kB / 1.173 GB, free: 196 kB / 0.92 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.00012/0.2719, allocations: 149.8 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.2719, allocations: 15.91 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.272, allocations: 21.45 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.272, allocations: 3.938 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.272, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.272, allocations: 7.938 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.2722, allocations: 217.5 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2722, allocations: 0 / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.2723, allocations: 4 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2723, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.2723, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2723, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2723, allocations: 7.984 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.2725, allocations: 148.9 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.2726, allocations: 92.97 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.2726, allocations: 7.984 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.2727, allocations: 12 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.2727, allocations: 7.938 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2727, allocations: 7.984 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00018/0.2729, allocations: 192.4 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2729, allocations: 0 / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002156/0.2731, allocations: 35.92 kB / 1.174 GB, free: 15.18 MB / 0.9356 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.001746/0.2749, allocations: 0.9943 MB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.2751, allocations: 79.89 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2751, allocations: 4 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.2752, allocations: 31.98 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.2754, allocations: 51.61 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.2775, allocations: 1.959 MB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2778, allocations: 0.724 MB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.29e-05/0.2779, allocations: 25.72 kB / 1.177 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.278, allocations: 47.42 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.278, allocations: 0 / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.716/1.994, allocations: 4.517 MB / 1.182 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/14.07, allocations: 13.83 kB / 1.182 GB, free: 6.875 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > 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