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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 75.88 kB / 1.059 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.257, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00308/0.2601, allocations: 1.803 MB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.2618, allocations: 1.045 MB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.2619, allocations: 3.938 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.2625, allocations: 163.5 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.2628, allocations: 115.6 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.2632, allocations: 171.1 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.2634, allocations: 163.6 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.2635, allocations: 13.11 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2636, allocations: 75.69 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.2638, allocations: 75.73 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.2638, allocations: 8 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.2639, allocations: 63.91 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.264, allocations: 47.83 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/0.2641, allocations: 59.61 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.2643, allocations: 203.4 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2644, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2644, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2644, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 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.0006753/0.265, allocations: 0.4961 MB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2651, allocations: 8.031 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.2651, allocations: 38.75 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.2652, allocations: 16.84 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.2655, allocations: 256.8 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2655, allocations: 4.375 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2655, allocations: 7.938 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.2657, allocations: 87.38 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2657, allocations: 4 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.2657, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.2657, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.2658, allocations: 39.86 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.2663, allocations: 348.7 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.2665, allocations: 82.59 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.2665, allocations: 24.86 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2665, allocations: 4 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.2667, allocations: 79.38 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.2667, allocations: 0 / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003209/0.267, allocations: 145.5 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.2671, allocations: 77.11 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.2673, allocations: 274.9 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2673, allocations: 25.7 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.2674, allocations: 120.1 kB / 1.222 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.2675, allocations: 23.8 kB / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.2675, allocations: 25.7 kB / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2676, allocations: 330.8 kB / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.2677, allocations: 23.98 kB / 1.222 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.2678, allocations: 71.34 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.2679, allocations: 66.08 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2679, allocations: 112 / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002008/0.2681, allocations: 125.4 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2681, allocations: 4 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2681, allocations: 0 / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2681, allocations: 8.062 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.2682, allocations: 8 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2682, allocations: 3.938 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.2683, allocations: 19.86 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2683, allocations: 4 kB / 1.222 GB, free: 8.812 MB / 0.9669 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.0001233/0.2684, allocations: 137.8 kB / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.2685, allocations: 15.91 kB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.2687, allocations: 135.1 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.2687, allocations: 4 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2687, allocations: 0 / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2687, allocations: 7.922 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.2689, allocations: 217.6 kB / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2689, allocations: 0 / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.2689, allocations: 4 kB / 1.223 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2689, allocations: 0 / 1.223 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.269, allocations: 4 kB / 1.223 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.269, allocations: 80 / 1.223 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.269, allocations: 3.984 kB / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.2692, allocations: 156.8 kB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.2693, allocations: 93.02 kB / 1.223 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.2693, allocations: 4 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.2693, allocations: 3.984 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.2694, allocations: 7.938 kB / 1.223 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2694, allocations: 8 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001891/0.2696, allocations: 200.3 kB / 1.223 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2696, allocations: 4 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002297/0.2698, allocations: 31.94 kB / 1.223 GB, free: 7.691 MB / 0.9669 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.001809/0.2716, allocations: 0.9892 MB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2718, allocations: 75.91 kB / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2718, allocations: 0 / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.2719, allocations: 31.98 kB / 1.224 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.2722, allocations: 50.45 kB / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.2744, allocations: 1.963 MB / 1.226 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.2747, allocations: 0.7356 MB / 1.227 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.576e-05/0.2748, allocations: 25.66 kB / 1.227 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.2748, allocations: 47.42 kB / 1.227 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.2748, allocations: 0 / 1.227 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.3024, allocations: 4.522 MB / 1.231 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.468, allocations: 6.906 kB / 1.231 GB, free: 15.34 MB / 0.9825 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable booRep.u in file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[4] in file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[4] from file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.80731927099987]