Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001611/0.001611, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001846/0.001846, allocations: 220 kB / 23.04 MB, free: 5.078 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7714 GB, free: 4.328 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_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.002091/0.002091, allocations: 63.39 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003641/0.3684, allocations: 1.798 MB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002081/0.3686, allocations: 79.69 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3687, allocations: 4 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.665e-05/0.3688, allocations: 11.86 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.3689, allocations: 19.8 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.369, allocations: 35.91 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3692, allocations: 107.7 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.3694, allocations: 37.72 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.3695, allocations: 47.84 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.3696, allocations: 43.83 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.3696, allocations: 15.98 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.016e-05/0.3696, allocations: 19.94 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.3697, allocations: 19.92 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.414e-05/0.3697, allocations: 43.8 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3699, allocations: 119.6 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3699, allocations: 0 / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3699, allocations: 0 / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3699, allocations: 0 / 1.286 GB, free: 9.293 MB / 0.9825 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.0007177/0.3707, allocations: 357.8 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3707, allocations: 12.03 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.705e-05/0.3707, allocations: 192 / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.3708, allocations: 46.73 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.3708, allocations: 8.891 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.371, allocations: 138.3 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.371, allocations: 8.375 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3711, allocations: 8.375 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.3715, allocations: 135.4 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3715, allocations: 0 / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3715, allocations: 8 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3715, allocations: 0 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.372, allocations: 123.9 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.3726, allocations: 347.5 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.373, allocations: 90.52 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.3732, allocations: 56.92 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3732, allocations: 4 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3732, allocations: 34.5 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3732, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007808/0.374, allocations: 201.5 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3741, allocations: 55.34 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3742, allocations: 129.1 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3742, allocations: 25.7 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.3743, allocations: 112 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.3743, allocations: 23.84 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.3744, allocations: 17.72 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3745, allocations: 314.8 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3748, allocations: 47.94 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.375, allocations: 56.31 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.3754, allocations: 108.8 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3754, allocations: 0 / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004865/0.3759, allocations: 145.5 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3759, allocations: 4 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3759, allocations: 7.938 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3759, allocations: 0 / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3761, allocations: 23.97 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3761, allocations: 4 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3762, allocations: 27.91 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.3762, allocations: 0 / 1.289 GB, free: 6.473 MB / 0.9825 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.0001138/0.3764, allocations: 117.8 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.3764, allocations: 7.953 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.3764, allocations: 20.3 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3764, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3764, allocations: 4 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3764, allocations: 0 / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.3767, allocations: 172.7 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3767, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3768, allocations: 31.91 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3768, allocations: 0 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3769, allocations: 7.922 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3769, allocations: 0 / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3769, allocations: 0 / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.3774, allocations: 243.4 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.3774, allocations: 7.891 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3774, allocations: 12.06 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3776, allocations: 23.97 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.3777, allocations: 7.984 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3777, allocations: 0 / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.3777, allocations: 99.27 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3777, allocations: 0 / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002418/0.378, allocations: 23.89 kB / 1.29 GB, free: 5.633 MB / 0.9825 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.0009103/0.3789, allocations: 0.7747 MB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.3794, allocations: 111.9 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3794, allocations: 0 / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3796, allocations: 59.88 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.38, allocations: 11.98 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.3825, allocations: 1.588 MB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3829, allocations: 0.6963 MB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.3829, allocations: 3.984 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.383, allocations: 31.44 kB / 1.293 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.383, allocations: 3.938 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.4064, allocations: 2.403 MB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 10.86 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.679910210019443]