Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.0008182/0.0008182, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.000913/0.000913, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8947/0.8947, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.717/1.717, allocations: 377.9 MB / 0.6221 GB, free: 8.648 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.55e-05, allocations: 6.219 kB / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.001937/0.001952, allocations: 1.738 MB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.002083, allocations: 79.73 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.002127, allocations: 0 / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.002158, allocations: 11.86 kB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.002205, allocations: 19.75 kB / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 7.247e-05/0.002277, allocations: 31.95 kB / 0.9828 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.706e-05/0.002374, allocations: 111.6 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.002485, allocations: 45.14 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.002548, allocations: 59.88 kB / 0.983 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.002588, allocations: 35.89 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.002609, allocations: 12 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-06/0.002619, allocations: 12 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.002638, allocations: 19.91 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.002665, allocations: 31.92 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.002784, allocations: 123.6 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002786, allocations: 0 / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002787, allocations: 0 / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002791, allocations: 0 / 0.9833 GB, free: 180 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003985/0.003189, allocations: 353.9 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.003222, allocations: 12.03 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.003253, allocations: 42.73 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.003274, allocations: 12.84 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.00341, allocations: 141.6 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.00342, allocations: 12.31 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.003431, allocations: 12.31 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.003638, allocations: 134.1 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.003644, allocations: 192 / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.003655, allocations: 4.375 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.003666, allocations: 12.11 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.003888, allocations: 115.9 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.004214, allocations: 319.7 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.004412, allocations: 94.44 kB / 0.9845 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.004518, allocations: 60.94 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.004529, allocations: 0 / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.004545, allocations: 34.55 kB / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 6.71e-07/0.004546, allocations: 0 / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0003896/0.004936, allocations: 193.7 kB / 0.9848 GB, free: 14.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.004963, allocations: 55.41 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.005026, allocations: 125 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.005036, allocations: 25.7 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.005078, allocations: 112 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.005097, allocations: 23.78 kB / 0.9851 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.005126, allocations: 17.72 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.005195, allocations: 322.8 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-05/0.005294, allocations: 47.95 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.00539, allocations: 51.94 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.005586, allocations: 108.8 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005588, allocations: 0 / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002218/0.005809, allocations: 137.5 kB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.005821, allocations: 7.984 kB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005825, allocations: 0 / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.005836, allocations: 8 kB / 0.9858 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.005909, allocations: 31.91 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.005914, allocations: 3.938 kB / 0.9858 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.005965, allocations: 20.38 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.005971, allocations: 3.984 kB / 0.9858 GB, free: 13.38 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * 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 5.45e-05/0.006026, allocations: 113.8 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.00604, allocations: 4 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.006059, allocations: 12.44 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006061, allocations: 8 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.006065, allocations: 7.938 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006068, allocations: 3.938 kB / 0.986 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.006191, allocations: 168.6 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006192, allocations: 0 / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.006255, allocations: 27.97 kB / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.006256, allocations: 0 / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.006263, allocations: 4 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006264, allocations: 3.938 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006265, allocations: 4 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.006519, allocations: 243.3 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.006527, allocations: 7.953 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.006538, allocations: 4 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.006601, allocations: 15.97 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.006641, allocations: 15.92 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.006645, allocations: 4 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.006682, allocations: 95.27 kB / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006682, allocations: 0 / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001456/0.006827, allocations: 16 kB / 0.9865 GB, free: 12.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0004066/0.007234, allocations: 0.7748 MB / 0.9873 GB, free: 11.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.007473, allocations: 103.9 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.007474, allocations: 4 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.007586, allocations: 59.89 kB / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.007809, allocations: 16.3 kB / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.009112, allocations: 1.599 MB / 0.989 GB, free: 9.902 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.325e-05/0.009165, allocations: 88.31 kB / 0.9891 GB, free: 9.797 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.009195, allocations: 0 / 0.9891 GB, free: 9.797 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.009243, allocations: 32.48 kB / 0.9891 GB, free: 9.766 MB / 0.948 GB Notification: Performance of SimCode: time 5.62e-07/0.009243, allocations: 0 / 0.9891 GB, free: 9.766 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.02321, allocations: 2.992 MB / 0.9921 GB, free: 6.938 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/6.629, allocations: 4.562 kB / 0.9921 GB, free: 6.934 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.64557239972055]