Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.001449/0.001449, allocations: 109 kB / 17.54 MB, free: 4.746 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.001449/0.001449, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.309 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.315/2.315, allocations: 443.5 MB / 0.7304 GB, free: 13.89 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 71.88 kB / 1.059 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2574, allocations: 160.7 MB / 1.216 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002777/0.2602, allocations: 1.536 MB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.261, allocations: 463.9 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.261, allocations: 3.938 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.232e-05/0.2611, allocations: 7.922 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.2612, allocations: 19.88 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.2614, allocations: 27.91 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.2615, allocations: 91.69 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.2616, allocations: 16.17 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.2617, allocations: 31.92 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.2618, allocations: 39.83 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.2618, allocations: 8 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.2618, allocations: 4 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.2619, allocations: 15.97 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.2619, allocations: 35.8 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.262, allocations: 83.88 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2621, allocations: 0 / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2621, allocations: 0 / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.2621, allocations: 3.938 kB / 1.218 GB, free: 13.48 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006675/0.2627, allocations: 446.5 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2628, allocations: 8.031 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.2628, allocations: 38.75 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.2628, allocations: 8.891 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.263, allocations: 192.2 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.263, allocations: 8.359 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.263, allocations: 8.375 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.2633, allocations: 101.5 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2633, allocations: 0 / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2633, allocations: 0 / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2633, allocations: 0 / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.2636, allocations: 71.94 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.2642, allocations: 336.7 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.2644, allocations: 74.52 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.2646, allocations: 52.95 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2646, allocations: 7.984 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/0.2649, allocations: 107.3 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2649, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006049/0.2655, allocations: 215.2 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.2656, allocations: 81.11 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2657, allocations: 131.5 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2657, allocations: 25.7 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.2658, allocations: 92.14 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.2658, allocations: 27.78 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.2659, allocations: 21.72 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.266, allocations: 330.8 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2662, allocations: 51.95 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2663, allocations: 47.91 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.2667, allocations: 173.9 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2667, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004334/0.2671, allocations: 216.9 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.2671, allocations: 59.34 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2671, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2671, allocations: 4 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2673, allocations: 11.98 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2673, allocations: 3.984 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.2674, allocations: 27.88 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2674, allocations: 8 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001179/0.2675, allocations: 143.5 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.2676, allocations: 20.16 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.2676, allocations: 8.719 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2676, allocations: 0 / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2676, allocations: 3.938 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2676, allocations: 3.938 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.2682, allocations: 436.2 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2682, allocations: 0 / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.2683, allocations: 11.98 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2683, allocations: 0 / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2683, allocations: 4 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.2683, allocations: 7.922 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2683, allocations: 0 / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.2687, allocations: 269.1 kB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.2688, allocations: 89.05 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.2688, allocations: 4 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.269, allocations: 15.92 kB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.2691, allocations: 19.97 kB / 1.222 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2691, allocations: 8 kB / 1.222 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.715e-05/0.2691, allocations: 101 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2691, allocations: 0 / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002291/0.2694, allocations: 20 kB / 1.222 GB, free: 8.984 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0007789/0.2702, allocations: 0.8077 MB / 1.223 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2706, allocations: 211.3 kB / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2706, allocations: 0 / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.2708, allocations: 115.3 kB / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2711, allocations: 16.08 kB / 1.223 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.2733, allocations: 1.725 MB / 1.225 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2736, allocations: 0.6924 MB / 1.225 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.813e-05/0.2737, allocations: 19.97 kB / 1.225 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.2738, allocations: 19.44 kB / 1.225 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.2738, allocations: 288 / 1.225 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.2973, allocations: 2.502 MB / 1.228 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.382, allocations: 13.42 kB / 1.228 GB, free: 2.777 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable act1.y in file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act1.y from file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act2.y in file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act2.y from file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act3.y in file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act3.y from file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable reqCou.nInc in file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable reqCou.nInc from file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.55780603900348]