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.002278/0.002278, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002167/0.002167, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.252/1.252, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.504/2.504, allocations: 469.8 MB / 0.7421 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 69.27 kB / 0.9082 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2427, allocations: 159.2 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00262/0.2453, allocations: 1.845 MB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2466, allocations: 1.006 MB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.2467, allocations: 4 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.2471, allocations: 153 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.2473, allocations: 103.7 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.2476, allocations: 158.3 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.2478, allocations: 163.6 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.2479, allocations: 37.08 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.248, allocations: 63.77 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.2481, allocations: 75.69 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2481, allocations: 8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2482, allocations: 63.89 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.2483, allocations: 39.91 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.2483, allocations: 59.61 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2486, allocations: 199.6 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.2486, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2486, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2486, allocations: 4 kB / 1.067 GB, free: 10.57 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.0005187/0.2491, allocations: 492.3 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.538e-05/0.2491, allocations: 8.031 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.483e-05/0.2492, allocations: 42.73 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.2492, allocations: 16.75 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.2494, allocations: 248.8 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2495, allocations: 4.375 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2495, allocations: 7.938 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.2496, allocations: 91.38 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.2497, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.2497, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.2497, allocations: 4 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.2498, allocations: 43.91 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.2502, allocations: 344.7 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2503, allocations: 78.67 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.2504, allocations: 36.78 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2504, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.2506, allocations: 83.31 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.2506, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0002722/0.2509, allocations: 141.4 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2509, allocations: 77.11 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.2511, allocations: 264.2 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2512, allocations: 25.7 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.2512, allocations: 120 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.2513, allocations: 27.64 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.2513, allocations: 29.69 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2514, allocations: 334.8 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.2515, allocations: 23.98 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.2516, allocations: 59.42 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.2517, allocations: 77.67 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2517, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001727/0.2519, allocations: 117.8 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/0.2519, allocations: 5.25 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2519, allocations: 3.984 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.2519, allocations: 4 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.252, allocations: 11.94 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.252, allocations: 3.938 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.252, allocations: 7.938 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2521, allocations: 4 kB / 1.07 GB, free: 7.52 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.0001104/0.2522, allocations: 149.8 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.2522, allocations: 15.81 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.2522, allocations: 21.41 kB / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.2523, allocations: 0 / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2523, allocations: 3.984 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2523, allocations: 7.938 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2525, allocations: 225.4 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2525, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.2525, allocations: 7.984 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2525, allocations: 0 / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2525, allocations: 4 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2525, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2525, allocations: 4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.2527, allocations: 152.8 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.2528, allocations: 88.92 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2528, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.2529, allocations: 7.984 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.2529, allocations: 15.94 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2529, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001619/0.2531, allocations: 199.3 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2531, allocations: 0 / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001982/0.2533, allocations: 28 kB / 1.071 GB, free: 6.512 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.001619/0.2549, allocations: 1.016 MB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.2551, allocations: 75.91 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2551, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.2552, allocations: 31.94 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.2554, allocations: 47.91 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.2573, allocations: 1.982 MB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2576, allocations: 0.7201 MB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.817e-05/0.2576, allocations: 21.41 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.2577, allocations: 47.41 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2577, allocations: 0 / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.562/8.82, allocations: 4.295 MB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/8.82, allocations: 250.3 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/15.65, allocations: 3.094 kB / 1.079 GB, free: 14.16 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