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.001515/0.001515, 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.001732/0.001732, allocations: 195.9 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.429/2.429, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 63.89 kB / 0.8689 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.612/0.6137, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002586/0.6163, allocations: 1.84 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.6176, allocations: 1.01 MB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.6176, allocations: 3.938 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.6181, allocations: 163.6 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.6183, allocations: 99.75 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.6187, allocations: 159.3 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.6189, allocations: 163.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.619, allocations: 25.09 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.6191, allocations: 67.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.6192, allocations: 71.75 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.6192, allocations: 8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.6193, allocations: 63.95 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.6194, allocations: 47.78 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.6194, allocations: 55.61 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.6196, allocations: 205.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.6196, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6197, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6197, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 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.0005304/0.6202, allocations: 492.3 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.6202, allocations: 8.031 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.6203, allocations: 42.73 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.6203, allocations: 20.69 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.6205, allocations: 244.9 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.6206, allocations: 12.36 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.6206, allocations: 7.938 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.6207, allocations: 91.31 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.6207, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.6208, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.6208, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.6209, allocations: 35.92 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.6213, allocations: 360.6 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.6215, allocations: 74.61 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.6215, allocations: 32.84 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.6215, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.6217, allocations: 95.36 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.6217, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002823/0.622, allocations: 145.4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.622, allocations: 77.11 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.6223, allocations: 258.9 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.6223, allocations: 33.7 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.6223, allocations: 119.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.6224, allocations: 27.73 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.6224, allocations: 25.72 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.6225, allocations: 326.8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.6226, allocations: 27.98 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.6227, allocations: 59.42 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.6228, allocations: 77.77 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6228, allocations: 4.312 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001748/0.623, allocations: 121.4 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.623, allocations: 4 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.623, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.623, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.6231, allocations: 15.98 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.6231, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.6231, allocations: 15.78 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-06/0.6232, allocations: 12.03 kB / 1.024 GB, free: 11.68 MB / 0.7794 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 9.641e-05/0.6233, allocations: 138.3 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.6233, allocations: 19.8 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.6233, allocations: 17.41 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.6233, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6233, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6234, allocations: 7.922 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.6235, allocations: 217.6 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6235, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.6236, allocations: 11.94 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6236, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.6236, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6236, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6236, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.6238, allocations: 152.8 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.6238, allocations: 96.8 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.6239, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.6239, allocations: 15.98 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.624, allocations: 7.938 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.624, allocations: 3.984 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001456/0.6241, allocations: 196.6 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6241, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002118/0.6243, allocations: 27.91 kB / 1.024 GB, free: 10.69 MB / 0.7794 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.001148/0.6255, allocations: 1.003 MB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.6257, allocations: 79.91 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6257, allocations: 0 / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.6258, allocations: 39.92 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.626, allocations: 45.97 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.6278, allocations: 1.97 MB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.628, allocations: 0.7201 MB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.457e-05/0.6281, allocations: 25.72 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.6282, allocations: 47.42 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6282, allocations: 0 / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.719/2.348, allocations: 4.296 MB / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/2.348, allocations: 250.7 kB / 1.033 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/4.273, allocations: 3.938 kB / 1.033 GB, free: 2.355 MB / 0.7794 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=50 --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