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.001839/0.001839, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002471/0.002471, allocations: 216.4 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.374/3.374, allocations: 0.49 GB / 0.7959 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 67.05 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3762, allocations: 176.1 MB / 1.327 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003681/0.3799, allocations: 1.796 MB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.3801, allocations: 79.75 kB / 1.329 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.3802, allocations: 0 / 1.329 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.889e-05/0.3802, allocations: 11.86 kB / 1.329 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.3803, allocations: 19.8 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.3805, allocations: 31.97 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3806, allocations: 111.7 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.3808, allocations: 49.22 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.41e-05/0.3809, allocations: 35.86 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.381, allocations: 55.67 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.381, allocations: 12 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.3811, allocations: 12 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.3811, allocations: 19.92 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.3812, allocations: 51.73 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.3814, allocations: 119.5 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3814, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3814, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3814, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 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.0007389/0.3821, allocations: 357.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.3822, allocations: 12.03 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.574e-05/0.3822, allocations: 192 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.3822, allocations: 42.73 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.3823, allocations: 8.891 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.3825, allocations: 154.3 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3825, allocations: 8.375 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3825, allocations: 4.375 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.3829, allocations: 129.9 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.383, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.383, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.383, allocations: 4 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.3834, allocations: 131.8 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.3841, allocations: 343.6 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.3845, allocations: 90.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.3847, allocations: 52.94 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3847, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3848, allocations: 38.56 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3848, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0008525/0.3856, allocations: 201.5 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.3857, allocations: 63.33 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3858, allocations: 123.7 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3859, allocations: 29.7 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.386, allocations: 108 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.386, allocations: 15.84 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.386, allocations: 17.72 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.3863, allocations: 322.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.3865, allocations: 51.95 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.3867, allocations: 55.88 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.3871, allocations: 108.8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3871, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004772/0.3876, allocations: 141.5 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3876, allocations: 4 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3876, allocations: 11.92 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3877, allocations: 4 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3878, allocations: 23.97 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3878, allocations: 0 / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.388, allocations: 19.92 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.388, allocations: 0 / 1.332 GB, free: 12.7 MB / 1.029 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 0.0001394/0.3881, allocations: 122.4 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.3881, allocations: 11.95 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3882, allocations: 12.31 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3882, allocations: 4 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3882, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3882, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.3885, allocations: 168.7 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3885, allocations: 0 / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3886, allocations: 28.34 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3886, allocations: 7.984 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3886, allocations: 11.94 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3886, allocations: 4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3886, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.3892, allocations: 235.4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.3892, allocations: 11.95 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.3892, allocations: 3.938 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3894, allocations: 19.97 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.3894, allocations: 11.92 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3894, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.556e-05/0.3895, allocations: 97.23 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3895, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002393/0.3898, allocations: 27.83 kB / 1.332 GB, free: 11.87 MB / 1.029 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.0009453/0.3907, allocations: 0.7748 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004906/0.3912, allocations: 111.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3912, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.3914, allocations: 59.94 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.3918, allocations: 17.3 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.3945, allocations: 1.584 MB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.3949, allocations: 0.704 MB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.133e-05/0.395, allocations: 4 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.395, allocations: 31.42 kB / 1.336 GB, free: 8.453 MB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/0.395, allocations: 0 / 1.336 GB, free: 8.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.42, allocations: 2.407 MB / 1.338 GB, free: 6.195 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.01, allocations: 0 / 1.338 GB, free: 6.195 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.07954217598308]