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.001712/0.001712, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002181/0.002181, allocations: 218.5 kB / 22.26 MB, free: 5.125 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.613/1.613, allocations: 230.6 MB / 256 MB, free: 7.984 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.367/3.367, allocations: 0.49 GB / 0.7951 GB, free: 33.34 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.00201/0.00201, allocations: 65.25 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3692, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003373/0.3726, allocations: 1.823 MB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.3747, allocations: 1.208 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.3748, allocations: 7.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006869/0.3755, allocations: 163.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.3759, allocations: 155.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.3763, allocations: 147.6 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3766, allocations: 167.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3767, allocations: 17.56 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3768, allocations: 75.7 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.377, allocations: 75.73 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.377, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3772, allocations: 75.88 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.3773, allocations: 39.84 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.3773, allocations: 71.59 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.3777, allocations: 211 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3777, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3777, allocations: 3.938 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3777, allocations: 0 / 1.33 GB, free: 13.72 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.0007822/0.3785, allocations: 434.9 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3785, allocations: 8.031 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.3786, allocations: 38.75 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.3786, allocations: 24.78 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.3789, allocations: 190.9 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3789, allocations: 4.312 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.3789, allocations: 11.94 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3791, allocations: 83.38 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3792, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3792, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.3792, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3793, allocations: 39.97 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.3798, allocations: 327.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.38, allocations: 70.67 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.3801, allocations: 36.78 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3801, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3803, allocations: 83.38 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.3803, allocations: 4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000375/0.3807, allocations: 145.4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.3807, allocations: 81.11 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.3811, allocations: 279 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3811, allocations: 29.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.3812, allocations: 116.1 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.3812, allocations: 27.8 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.3813, allocations: 25.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3814, allocations: 331.1 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.3815, allocations: 27.98 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3816, allocations: 71.28 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3817, allocations: 73.67 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3817, allocations: 112 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002168/0.3819, allocations: 129.4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.382, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.382, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.382, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.3821, allocations: 11.98 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3821, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.3821, allocations: 7.938 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3821, allocations: 11.97 kB / 1.333 GB, free: 10.81 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.0001374/0.3823, allocations: 146.3 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.3823, allocations: 19.86 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.3826, allocations: 126.9 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.3826, allocations: 7.984 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3826, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3826, allocations: 3.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3828, allocations: 192.7 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3828, allocations: 4 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.3828, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3828, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3828, allocations: 8.078 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3828, allocations: 3.938 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3828, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3831, allocations: 152.8 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.3831, allocations: 15.89 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.3832, allocations: 12 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.3832, allocations: 4 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.3832, allocations: 11.92 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3832, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000211/0.3835, allocations: 204.6 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3835, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002507/0.3837, allocations: 31.92 kB / 1.334 GB, free: 9.801 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 (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.002068/0.3858, allocations: 0.996 MB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.386, allocations: 67.91 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.386, allocations: 4 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/0.3861, allocations: 31.98 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3864, allocations: 43.11 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.3889, allocations: 2.001 MB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3893, allocations: 0.7241 MB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.043e-05/0.3893, allocations: 29.7 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.3894, allocations: 55.34 kB / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3894, allocations: 0 / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.4224, allocations: 4.791 MB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.26, allocations: 13.36 kB / 1.342 GB, free: 1.156 MB / 1.029 GB " [Timeout remaining time 289] (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.653042461999576]