Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001178/0.001178, allocations: 109 kB / 17.54 MB, free: 4.766 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.001186/0.001186, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] 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.363/2.363, allocations: 443.5 MB / 0.7304 GB, free: 13.95 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.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.91 kB / 1.059 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2604, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001655/0.262, allocations: 0.6324 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2634, allocations: 1.133 MB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.2634, allocations: 0 / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.706e-05/0.2635, allocations: 0 / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.477e-05/0.2635, allocations: 7.938 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.264, allocations: 134.9 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.2642, allocations: 83.89 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.878e-05/0.2642, allocations: 11.94 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.3e-05/0.2643, allocations: 43.84 kB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.2644, allocations: 27.95 kB / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2644, allocations: 8 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.2645, allocations: 23.98 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.2645, allocations: 7.922 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.2646, allocations: 35.91 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.2647, allocations: 83.78 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2648, allocations: 7.984 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2648, allocations: 0 / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2648, allocations: 4 kB / 1.218 GB, free: 13.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004492/0.2652, allocations: 381 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2652, allocations: 8.031 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.2653, allocations: 30.75 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.2653, allocations: 12.89 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.2655, allocations: 176.4 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2655, allocations: 4.375 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.2655, allocations: 16.25 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.2656, allocations: 42.25 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2656, allocations: 7.938 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2657, allocations: 7.984 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2657, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.2657, allocations: 11.98 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.266, allocations: 308.7 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/0.2661, allocations: 18.58 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.2661, allocations: 4.859 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.2661, allocations: 4 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.2662, allocations: 59.45 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2662, allocations: 0 / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001653/0.2664, allocations: 65.58 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2664, allocations: 59.39 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.2665, allocations: 105.8 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2665, allocations: 29.7 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.2666, allocations: 88.14 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/0.2666, allocations: 3.953 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.2667, allocations: 37.64 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2668, allocations: 318.8 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.2669, allocations: 27.97 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.2669, allocations: 50.56 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.2671, allocations: 84.2 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2671, allocations: 0 / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002435/0.2673, allocations: 151.2 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.2673, allocations: 37.7 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2673, allocations: 3.984 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2674, allocations: 0 / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.277e-05/0.2674, allocations: 320 / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2674, allocations: 4 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.2676, allocations: 36 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.2676, allocations: 8 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.338e-05/0.2677, allocations: 125.7 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.2677, allocations: 4 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.2677, allocations: 3.906 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2677, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2677, allocations: 3.938 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2677, allocations: 4 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.2678, allocations: 169.6 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2679, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.2679, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2679, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.2679, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2679, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2679, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.268, allocations: 89.23 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.268, allocations: 85.09 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.268, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.268, allocations: 3.938 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.2681, allocations: 4 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2681, allocations: 0 / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.2681, allocations: 87.27 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2681, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001971/0.2683, allocations: 16 kB / 1.22 GB, free: 10.57 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003936/0.2687, allocations: 0.6241 MB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2689, allocations: 107.3 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.2689, allocations: 0 / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.2689, allocations: 8 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.2691, allocations: 18.14 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2704, allocations: 1.369 MB / 1.222 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.2707, allocations: 0.6846 MB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.768e-05/0.2707, allocations: 4 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.2707, allocations: 11.44 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.2707, allocations: 0 / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.2941, allocations: 1.967 MB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.335, allocations: 15.8 kB / 1.225 GB, free: 5.695 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booRep.u in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.560942670999793]