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.001702/0.001702, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002039/0.002039, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.372/3.372, allocations: 0.49 GB / 0.7916 GB, free: 33.54 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.002067/0.002067, allocations: 72.89 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3823, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003425/0.3858, allocations: 1.818 MB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3877, allocations: 1.189 MB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.3878, allocations: 7.938 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.3885, allocations: 162.9 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.3889, allocations: 151.6 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.3893, allocations: 139.6 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3896, allocations: 171.4 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3897, allocations: 25.11 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3898, allocations: 67.7 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.39, allocations: 79.72 kB / 1.325 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.39, allocations: 12 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3901, allocations: 67.89 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.3902, allocations: 43.84 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.3903, allocations: 59.61 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.3906, allocations: 211.3 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3906, allocations: 4 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3906, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3906, allocations: 0 / 1.325 GB, free: 15.12 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.0008094/0.3914, allocations: 0.4961 MB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3915, allocations: 11.98 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.3915, allocations: 38.75 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.3916, allocations: 24.78 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3919, allocations: 251.9 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3919, allocations: 4.375 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3919, allocations: 7.938 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3921, allocations: 91.31 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.3921, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.3922, allocations: 15.98 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3922, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.3923, allocations: 39.91 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3929, allocations: 348.7 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3931, allocations: 70.67 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.3931, allocations: 36.78 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3931, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.3933, allocations: 83.38 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3933, allocations: 0 / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0003704/0.3937, allocations: 149.5 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3938, allocations: 77.11 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.3941, allocations: 283 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3941, allocations: 25.7 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.3942, allocations: 116.1 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.3942, allocations: 31.73 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.3943, allocations: 25.7 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3944, allocations: 334.8 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.3945, allocations: 24 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3946, allocations: 67.34 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.3948, allocations: 78 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3948, allocations: 4 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002244/0.395, allocations: 113.5 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.395, allocations: 8.062 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.395, allocations: 4 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.395, allocations: 0 / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.3951, allocations: 11.98 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3951, allocations: 3.938 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.3952, allocations: 7.938 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3952, allocations: 4 kB / 1.328 GB, free: 12.01 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.0001395/0.3953, allocations: 137.8 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.3954, allocations: 27.84 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.3954, allocations: 25.39 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.3954, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3954, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3955, allocations: 3.938 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3957, allocations: 233.5 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3957, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.3957, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3957, allocations: 4 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3957, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3957, allocations: 4 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3957, allocations: 4 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.396, allocations: 152.8 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3961, allocations: 89.02 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3961, allocations: 4 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.3961, allocations: 7.984 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.3962, allocations: 7.938 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.3962, allocations: 0 / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002155/0.3964, allocations: 204.6 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3964, allocations: 3.938 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002553/0.3967, allocations: 31.94 kB / 1.329 GB, free: 10.98 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.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.002102/0.3988, allocations: 0.9935 MB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.399, allocations: 75.91 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.399, allocations: 0 / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.3991, allocations: 39.91 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.3994, allocations: 37.56 kB / 1.33 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.4019, allocations: 2.003 MB / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.4023, allocations: 0.7241 MB / 1.332 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.591e-05/0.4024, allocations: 25.72 kB / 1.332 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.481e-05/0.4024, allocations: 47.42 kB / 1.332 GB, free: 7.062 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.4024, allocations: 0 / 1.332 GB, free: 7.062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.4325, allocations: 4.639 MB / 1.337 GB, free: 2.496 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.657, allocations: 6.5 kB / 1.337 GB, free: 2.492 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.882423260016367]