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.007016/0.007017, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001366/0.001366, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.513/2.513, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8364, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003083/0.8396, allocations: 1.784 MB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.8412, allocations: 1.022 MB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.8413, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006442/0.842, allocations: 163.5 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.8423, allocations: 115.6 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.8428, allocations: 170.7 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.843, allocations: 171.6 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.8431, allocations: 21.11 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.8432, allocations: 67.75 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.8434, allocations: 75.67 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.8434, allocations: 12 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.8435, allocations: 63.95 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.8436, allocations: 43.84 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.8437, allocations: 63.55 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.844, allocations: 194.9 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.8441, allocations: 0 / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8441, allocations: 0 / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.8441, allocations: 4 kB / 1.17 GB, free: 15.81 MB / 0.9044 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.0008847/0.845, allocations: 0.4922 MB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.845, allocations: 16.92 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.8451, allocations: 38.73 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.8452, allocations: 16.84 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.8455, allocations: 249 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.8456, allocations: 4.312 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.8456, allocations: 11.94 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.8458, allocations: 87.31 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.8458, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.8459, allocations: 8 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.8459, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.846, allocations: 39.97 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.8466, allocations: 352.7 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.8469, allocations: 74.61 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.847, allocations: 36.84 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.847, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.8472, allocations: 87.36 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.8472, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003865/0.8476, allocations: 141.5 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.8477, allocations: 81.11 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.848, allocations: 262.9 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.848, allocations: 29.7 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.8481, allocations: 116.1 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.8482, allocations: 31.78 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.8483, allocations: 25.72 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.8484, allocations: 334.9 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.8485, allocations: 31.92 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.8486, allocations: 55.42 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.8488, allocations: 74.02 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8488, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002121/0.849, allocations: 117.5 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.849, allocations: 8 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.849, allocations: 3.938 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8491, allocations: 3.984 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.8492, allocations: 12.06 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.8492, allocations: 4 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.8493, allocations: 15.89 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.8493, allocations: 0 / 1.173 GB, free: 12.72 MB / 0.9044 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.0001718/0.8494, allocations: 141.8 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.8495, allocations: 19.91 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.8495, allocations: 13.41 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.8496, allocations: 4 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8496, allocations: 4 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.8496, allocations: 7.922 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.8499, allocations: 217.6 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8499, allocations: 4 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.8499, allocations: 3.938 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8499, allocations: 4 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.8499, allocations: 4 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8499, allocations: 0 / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.85, allocations: 3.984 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.8502, allocations: 144.9 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.8503, allocations: 100.9 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.8504, allocations: 7.984 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.8504, allocations: 11.92 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.8505, allocations: 11.81 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.8505, allocations: 4 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002116/0.8507, allocations: 200.4 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8507, allocations: 0 / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002484/0.851, allocations: 31.94 kB / 1.174 GB, free: 11.7 MB / 0.9044 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.00143/0.8524, allocations: 0.9869 MB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.8526, allocations: 67.97 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8527, allocations: 4.062 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.8527, allocations: 43.92 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.8531, allocations: 47.92 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.8555, allocations: 1.962 MB / 1.177 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.8558, allocations: 0.7279 MB / 1.177 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.691e-05/0.8559, allocations: 21.72 kB / 1.177 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.856, allocations: 43.42 kB / 1.177 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of SimCode: time 1.653e-06/0.856, allocations: 0 / 1.177 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.8769, allocations: 4.523 MB / 1.182 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.706, allocations: 15.95 kB / 1.182 GB, free: 3.371 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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.csv","/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