Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_9_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.001473/0.001473, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001625/0.001625, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.2 MB / 0.6643 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.89 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7287, allocations: 140.4 MB / 0.949 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003001/0.7317, allocations: 1.832 MB / 0.9508 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.7332, allocations: 1 MB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.7333, allocations: 0 / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.7339, allocations: 166.2 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.7341, allocations: 103.3 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.7345, allocations: 152.6 kB / 0.9522 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.7347, allocations: 164.6 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.7348, allocations: 23.77 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.7349, allocations: 63.52 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.993e-05/0.735, allocations: 68.91 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.735, allocations: 3.562 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.7352, allocations: 52.14 kB / 0.9526 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.7352, allocations: 41.53 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.7353, allocations: 55.17 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.7356, allocations: 198.7 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7356, allocations: 0 / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7356, allocations: 5.25 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7356, allocations: 0 / 0.9529 GB, free: 6.363 MB / 0.7169 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.0006234/0.7362, allocations: 491 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.7363, allocations: 9.938 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.7363, allocations: 41.05 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.7364, allocations: 15.31 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.7366, allocations: 248.1 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.7366, allocations: 6.875 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.7367, allocations: 10.25 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.7369, allocations: 88.69 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7369, allocations: 0 / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7369, allocations: 1.25 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.7369, allocations: 3.031 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.737, allocations: 42.36 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.7375, allocations: 351.7 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.7377, allocations: 78.86 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.7377, allocations: 33.03 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.7378, allocations: 1.094 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.7379, allocations: 93.2 kB / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.7379, allocations: 0 / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.00034/0.7383, allocations: 141.1 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.7383, allocations: 78.33 kB / 0.9545 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.7386, allocations: 271.9 kB / 0.9548 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7386, allocations: 26.86 kB / 0.9548 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.7386, allocations: 119.8 kB / 0.9549 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.7387, allocations: 21.16 kB / 0.9549 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.7387, allocations: 30.08 kB / 0.955 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.7388, allocations: 328.1 kB / 0.9553 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.7389, allocations: 26.8 kB / 0.9553 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.7389, allocations: 61.67 kB / 0.9554 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.7391, allocations: 71.59 kB / 0.9554 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.7391, allocations: 5.5 kB / 0.9554 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001924/0.7393, allocations: 122.9 kB / 0.9555 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7393, allocations: 4.156 kB / 0.9555 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.7393, allocations: 0.9688 kB / 0.9556 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.7393, allocations: 5.125 kB / 0.9556 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.7394, allocations: 9.969 kB / 0.9556 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7394, allocations: 3.938 kB / 0.9556 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.7395, allocations: 19.52 kB / 0.9556 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.7395, allocations: 3.531 kB / 0.9556 GB, free: 3.875 MB / 0.7169 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.0001025/0.7396, allocations: 147.6 kB / 0.9557 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.7396, allocations: 14.31 kB / 0.9557 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.7397, allocations: 16.84 kB / 0.9558 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.7397, allocations: 5.484 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7397, allocations: 1 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7397, allocations: 3.938 kB / 0.9558 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.7399, allocations: 219.9 kB / 0.956 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7399, allocations: 96 / 0.956 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.7399, allocations: 6.781 kB / 0.956 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7399, allocations: 5.344 kB / 0.956 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.7399, allocations: 1.594 kB / 0.956 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7399, allocations: 0 / 0.956 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7399, allocations: 3.984 kB / 0.956 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.7402, allocations: 154.3 kB / 0.9561 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.7402, allocations: 95.95 kB / 0.9562 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.7402, allocations: 0 / 0.9562 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.7403, allocations: 11.73 kB / 0.9562 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.7403, allocations: 11.75 kB / 0.9563 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.7404, allocations: 3.984 kB / 0.9563 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001683/0.7405, allocations: 194.4 kB / 0.9564 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7405, allocations: 0 / 0.9564 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002341/0.7408, allocations: 25.56 kB / 0.9565 GB, free: 3.098 MB / 0.7169 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.001289/0.7421, allocations: 1.004 MB / 0.9575 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.7423, allocations: 74.94 kB / 0.9575 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7423, allocations: 0 / 0.9575 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.7424, allocations: 38.42 kB / 0.9576 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.7427, allocations: 39.75 kB / 0.9576 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.7447, allocations: 1.988 MB / 0.9595 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.7449, allocations: 0.7193 MB / 0.9602 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.183e-05/0.745, allocations: 25.98 kB / 0.9603 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.7451, allocations: 48.77 kB / 0.9603 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.7451, allocations: 7.938 kB / 0.9603 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7488/1.494, allocations: 4.199 MB / 0.9644 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.494, allocations: 244.6 kB / 0.9647 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/3.178, allocations: 0 / 0.9647 GB, free: 13.56 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches