Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 215.2 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.268/3.268, allocations: 0.49 GB / 0.7951 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 65.09 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3859, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004514/0.3905, allocations: 1.784 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.393, allocations: 1.12 MB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.3932, allocations: 3.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.3939, allocations: 172 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.3945, allocations: 155.5 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.3949, allocations: 142.8 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.3952, allocations: 175.5 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3954, allocations: 21.58 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3955, allocations: 71.75 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.3957, allocations: 79.67 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.3957, allocations: 8 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.3959, allocations: 79.88 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.396, allocations: 47.78 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.3961, allocations: 39.73 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.3966, allocations: 219 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3966, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3966, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.3966, allocations: 7.984 kB / 1.33 GB, free: 13.32 MB / 1.029 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.001124/0.3977, allocations: 422.9 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.3978, allocations: 12.03 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.903e-05/0.3978, allocations: 34.73 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.3979, allocations: 20.8 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.3984, allocations: 182.9 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3984, allocations: 12.31 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3984, allocations: 7.938 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3986, allocations: 69.66 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3987, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3987, allocations: 7.984 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3987, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.3988, allocations: 39.97 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.3995, allocations: 315.7 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.3997, allocations: 74.66 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.3998, allocations: 36.84 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3998, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.4, allocations: 87.31 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.954e-06/0.4, allocations: 4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004263/0.4005, allocations: 145.5 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.4005, allocations: 59.41 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.4009, allocations: 279 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.401, allocations: 25.98 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.4011, allocations: 120.1 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.4011, allocations: 31.77 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.4012, allocations: 33.64 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.4014, allocations: 330.8 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.4015, allocations: 27.98 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.4016, allocations: 84.2 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4018, allocations: 81.67 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4018, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002356/0.402, allocations: 121.5 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.402, allocations: 4 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.402, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.402, allocations: 4 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.4021, allocations: 15.98 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4021, allocations: 4.062 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.4022, allocations: 11.94 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4022, allocations: 4 kB / 1.332 GB, free: 10.44 MB / 1.029 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.0001553/0.4024, allocations: 146.3 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.4024, allocations: 19.86 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.4027, allocations: 131 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4027, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4027, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4027, allocations: 3.938 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.4029, allocations: 192.6 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4029, allocations: 0 / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.403, allocations: 7.984 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.403, allocations: 3.938 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.403, allocations: 4 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.403, allocations: 4.031 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.403, allocations: 3.938 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.4032, allocations: 156.9 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.4033, allocations: 15.91 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.4033, allocations: 0 / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.4033, allocations: 8 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.4034, allocations: 11.92 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.4034, allocations: 0 / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002235/0.4036, allocations: 212.6 kB / 1.333 GB, free: 9.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4036, allocations: 0 / 1.333 GB, free: 9.457 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002655/0.4039, allocations: 27.94 kB / 1.333 GB, free: 9.43 MB / 1.029 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.002367/0.4063, allocations: 1.037 MB / 1.334 GB, free: 8.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.4065, allocations: 83.89 kB / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4065, allocations: 0 / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.846e-05/0.4066, allocations: 31.98 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4069, allocations: 48.95 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.4096, allocations: 2.011 MB / 1.336 GB, free: 6.297 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.4097, allocations: 114.6 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.164e-05/0.4098, allocations: 21.42 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.4099, allocations: 51.41 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.4099, allocations: 0 / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.4435, allocations: 5.32 MB / 1.342 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.71, allocations: 9.312 kB / 1.342 GB, free: 0.8359 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booRep.u in file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[4] in file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[4] from file Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.837373966991436]