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.001759/0.001759, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.456/2.456, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.84 kB / 0.8693 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5827, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003842/0.5865, allocations: 1.783 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.5884, allocations: 1.022 MB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.5885, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.5893, allocations: 163.5 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.5896, allocations: 119.1 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.5901, allocations: 167.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.5905, allocations: 179.5 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.5906, allocations: 21.09 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.5909, allocations: 71.7 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.591, allocations: 67.75 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.591, allocations: 8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.5912, allocations: 59.95 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/0.5913, allocations: 43.78 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.485e-05/0.5914, allocations: 63.61 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.5918, allocations: 197.6 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5918, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5918, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5918, allocations: 0 / 1.021 GB, free: 14.47 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.0009294/0.5927, allocations: 496.3 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.5928, allocations: 12.03 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.5929, allocations: 34.75 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.5929, allocations: 20.66 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.5933, allocations: 248.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.5933, allocations: 4.375 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.5934, allocations: 7.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.5936, allocations: 91.31 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5936, allocations: 3.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5936, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.5937, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.5938, allocations: 31.98 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.5945, allocations: 364.6 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.5947, allocations: 78.61 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.5948, allocations: 32.84 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.5948, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.595, allocations: 87.38 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.595, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003408/0.5953, allocations: 145.3 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5954, allocations: 81.11 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.5957, allocations: 262.9 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.5957, allocations: 25.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.5958, allocations: 120 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.5959, allocations: 31.7 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.5959, allocations: 25.7 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5961, allocations: 330.8 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.5962, allocations: 27.94 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.5963, allocations: 59.41 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5964, allocations: 77.73 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5964, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002139/0.5967, allocations: 113.5 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5967, allocations: 11.94 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5967, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5967, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.5968, allocations: 15.92 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5968, allocations: 4.375 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.5969, allocations: 15.78 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5969, allocations: 4.031 kB / 1.024 GB, free: 11.39 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 0.0001304/0.5971, allocations: 142.5 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.5971, allocations: 19.75 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.5971, allocations: 17.39 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5972, allocations: 4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5972, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5972, allocations: 3.938 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.5974, allocations: 217.6 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5974, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.5974, allocations: 7.984 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.5975, allocations: 3.938 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5975, allocations: 4 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5975, allocations: 0 / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5975, allocations: 3.984 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.5977, allocations: 144.8 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.5978, allocations: 100.8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.5979, allocations: 4 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.5979, allocations: 4 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.598, allocations: 15.86 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.598, allocations: 4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002952/0.5983, allocations: 192.4 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5983, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000267/0.5986, allocations: 31.98 kB / 1.025 GB, free: 10.39 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.001424/0.6, allocations: 0.9992 MB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.6002, allocations: 79.91 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6002, allocations: 4 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.6003, allocations: 31.98 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.6006, allocations: 46.64 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.603, allocations: 1.957 MB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.6035, allocations: 0.724 MB / 1.029 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.733e-05/0.6036, allocations: 25.72 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.6036, allocations: 51.42 kB / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6036, allocations: 0 / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.6244, allocations: 4.411 MB / 1.033 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.349/7.973, allocations: 8.016 kB / 1.033 GB, free: 2.18 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