Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.001036/0.001036, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.000915/0.000915, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.9809 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.209e-05, allocations: 10.16 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002747/0.002769, allocations: 1.537 MB / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009098/0.003679, allocations: 498.6 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.003745, allocations: 0 / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.951e-05/0.003844, allocations: 7.875 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.003903, allocations: 23.8 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.004178, allocations: 43.88 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.004347, allocations: 83.7 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.004456, allocations: 12 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.00466, allocations: 55.88 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.00474, allocations: 27.97 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.004763, allocations: 4 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.004808, allocations: 15.94 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.00485, allocations: 15.91 kB / 0.9832 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.004904, allocations: 27.92 kB / 0.9832 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.005071, allocations: 91.69 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005073, allocations: 0 / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005074, allocations: 0 / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.005078, allocations: 0 / 0.9833 GB, free: 128 kB / 0.9323 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.0006276/0.005705, allocations: 376 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.005746, allocations: 12.03 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.005782, allocations: 30.75 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.005922, allocations: 20.88 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.006118, allocations: 133.7 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.006134, allocations: 12.38 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.006151, allocations: 4.375 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.006436, allocations: 127.8 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.006445, allocations: 192 / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.006461, allocations: 8.125 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006466, allocations: 0 / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.006706, allocations: 105.6 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.007265, allocations: 295.7 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.007529, allocations: 104.2 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.007687, allocations: 82.58 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.007701, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.007954, allocations: 133 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.007956, allocations: 96 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0005538/0.008509, allocations: 270.5 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.008557, allocations: 81.11 kB / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.008659, allocations: 133.7 kB / 0.9852 GB, free: 14.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.008677, allocations: 33.7 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.008733, allocations: 104.1 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.008754, allocations: 19.8 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.00881, allocations: 29.7 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.008901, allocations: 322.8 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.009077, allocations: 103.4 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.009224, allocations: 107.3 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.009479, allocations: 169.9 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.009481, allocations: 0 / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000396/0.009877, allocations: 272.4 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.009921, allocations: 63.41 kB / 0.9863 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009925, allocations: 0 / 0.9863 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.009943, allocations: 0 / 0.9863 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.01005, allocations: 19.97 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01005, allocations: 0 / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.01015, allocations: 19.98 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01016, allocations: 0 / 0.9864 GB, free: 12.66 MB / 0.948 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.0001018/0.01027, allocations: 155.5 kB / 0.9865 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.01029, allocations: 11.94 kB / 0.9865 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.01031, allocations: 12.78 kB / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01032, allocations: 0 / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01032, allocations: 0 / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01032, allocations: 0 / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.01082, allocations: 433.2 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01082, allocations: 0 / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.0109, allocations: 15.98 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0109, allocations: 0 / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01091, allocations: 4 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01092, allocations: 0 / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01092, allocations: 3.938 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.01129, allocations: 314.7 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.01131, allocations: 15.88 kB / 0.9873 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01133, allocations: 4 kB / 0.9873 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.01145, allocations: 11.98 kB / 0.9873 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.01155, allocations: 23.97 kB / 0.9873 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.01156, allocations: 3.938 kB / 0.9873 GB, free: 11.56 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.325e-05/0.01162, allocations: 109.8 kB / 0.9874 GB, free: 11.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.01162, allocations: 0 / 0.9874 GB, free: 11.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000273/0.01189, allocations: 20 kB / 0.9875 GB, free: 11.44 MB / 0.948 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.0008966/0.01279, allocations: 0.8334 MB / 0.9883 GB, free: 10.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.01321, allocations: 299.8 kB / 0.9886 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01321, allocations: 0 / 0.9886 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.0134, allocations: 141 kB / 0.9887 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.0137, allocations: 20.16 kB / 0.9887 GB, free: 10.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.01584, allocations: 1.977 MB / 0.9907 GB, free: 7.926 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.49e-05/0.01591, allocations: 79.33 kB / 0.9907 GB, free: 7.828 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.109e-05/0.01597, allocations: 11.98 kB / 0.9907 GB, free: 7.816 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.01603, allocations: 24.48 kB / 0.9908 GB, free: 7.789 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.01603, allocations: 0 / 0.9908 GB, free: 7.789 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.03466, allocations: 3.327 MB / 0.994 GB, free: 4.648 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.269, allocations: 4.812 kB / 0.994 GB, free: 4.645 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act1.y from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act2.y in file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act2.y from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act3.y in file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act3.y from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable reqCou.nInc in file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable reqCou.nInc from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.422745326533914]