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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001037/0.001037, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.000947/0.000947, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.5728, allocations: 140.4 MB / 0.9492 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002518/0.5754, allocations: 1.831 MB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.5765, allocations: 1.006 MB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.5766, allocations: 4.656 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.5771, allocations: 154.2 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.5774, allocations: 105.6 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.5777, allocations: 156.2 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.5779, allocations: 169.6 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.578, allocations: 29.25 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.5781, allocations: 72.72 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.5782, allocations: 73.53 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.5782, allocations: 8.875 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.5783, allocations: 59.31 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.5784, allocations: 38.62 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.5785, allocations: 73.28 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.5787, allocations: 192.5 kB / 0.9531 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5787, allocations: 0 / 0.9531 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5787, allocations: 0 / 0.9531 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.5787, allocations: 0 / 0.9531 GB, free: 6.203 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.0005413/0.5792, allocations: 491.6 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5793, allocations: 9.469 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.5793, allocations: 40.95 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.5794, allocations: 15.75 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.5796, allocations: 252.2 kB / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.5796, allocations: 2.344 kB / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.5796, allocations: 7.688 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5798, allocations: 87.97 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5798, allocations: 7.922 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5798, allocations: 5.094 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5798, allocations: 6 kB / 0.954 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.5799, allocations: 39.06 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.5803, allocations: 351.5 kB / 0.9543 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.5805, allocations: 79.39 kB / 0.9544 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.5805, allocations: 32.69 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5806, allocations: 5.406 kB / 0.9545 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.5807, allocations: 85 kB / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.5807, allocations: 0 / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002882/0.581, allocations: 140.9 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.581, allocations: 78.14 kB / 0.9547 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.5813, allocations: 268.6 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.5813, allocations: 26.86 kB / 0.955 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.5813, allocations: 120.4 kB / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.5814, allocations: 28.16 kB / 0.9552 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.5814, allocations: 22.16 kB / 0.9552 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.5814, allocations: 331.9 kB / 0.9555 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.5815, allocations: 31.58 kB / 0.9555 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.5816, allocations: 57.17 kB / 0.9556 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.5817, allocations: 76.23 kB / 0.9557 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.5817, allocations: 3.938 kB / 0.9557 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001675/0.5819, allocations: 115.3 kB / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.5819, allocations: 5.875 kB / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5819, allocations: 0 / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5819, allocations: 5.141 kB / 0.9558 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.582, allocations: 13.62 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.582, allocations: 112 / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.5821, allocations: 24.69 kB / 0.9558 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.5821, allocations: 2.688 kB / 0.9558 GB, free: 3.711 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 8.62e-05/0.5822, allocations: 146.2 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.5822, allocations: 15.5 kB / 0.956 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.5822, allocations: 16.03 kB / 0.956 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.5823, allocations: 2.5 kB / 0.956 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5823, allocations: 1.188 kB / 0.956 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5823, allocations: 7.922 kB / 0.956 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.5824, allocations: 227.1 kB / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5824, allocations: 0 / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.5824, allocations: 3.781 kB / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5824, allocations: 0 / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.5825, allocations: 1.219 kB / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5825, allocations: 5.031 kB / 0.9562 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5825, allocations: 0 / 0.9562 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.5827, allocations: 146.6 kB / 0.9564 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.5827, allocations: 97.8 kB / 0.9565 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.5827, allocations: 1.125 kB / 0.9565 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.5828, allocations: 6.859 kB / 0.9565 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.5828, allocations: 10.53 kB / 0.9565 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.5828, allocations: 2.75 kB / 0.9565 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001226/0.5829, allocations: 202.2 kB / 0.9567 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.583, allocations: 0 / 0.9567 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002173/0.5832, allocations: 34.28 kB / 0.9567 GB, free: 2.93 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.00109/0.5843, allocations: 1.004 MB / 0.9577 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.5845, allocations: 73.12 kB / 0.9578 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5845, allocations: 1.344 kB / 0.9578 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.5846, allocations: 37.7 kB / 0.9578 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.5848, allocations: 51.34 kB / 0.9578 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.5867, allocations: 1.979 MB / 0.9598 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.5869, allocations: 0.7236 MB / 0.9605 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.868e-05/0.587, allocations: 25.8 kB / 0.9605 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.5871, allocations: 45.05 kB / 0.9606 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.5871, allocations: 3.938 kB / 0.9606 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.6035, allocations: 4.291 MB / 0.9647 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.6038, allocations: 249.2 kB / 0.965 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.449, allocations: 5.156 kB / 0.965 GB, free: 13.33 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