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.001362/0.001362, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00153/0.00153, allocations: 216 kB / 22.25 MB, free: 5.117 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 8.023 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.207/3.207, allocations: 0.49 GB / 0.7951 GB, free: 33.3 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="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: 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: 64.23 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3313, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003347/0.3347, allocations: 1.809 MB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.3349, allocations: 79.75 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.335, allocations: 0 / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.335, allocations: 11.86 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.282e-05/0.3351, allocations: 23.8 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.3352, allocations: 31.95 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.3354, allocations: 111.8 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3356, allocations: 49.2 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.3356, allocations: 35.86 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.3357, allocations: 51.77 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.3358, allocations: 12 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.3358, allocations: 12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.3358, allocations: 19.92 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.3359, allocations: 51.73 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.336, allocations: 119.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3361, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3361, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.3361, allocations: 0 / 1.328 GB, free: 15.54 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.0006826/0.3367, allocations: 353.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3368, allocations: 12.03 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.3368, allocations: 38.73 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.3369, allocations: 16.89 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3371, allocations: 150.3 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3371, allocations: 8.328 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.3371, allocations: 8.375 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.3375, allocations: 123.2 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3375, allocations: 3.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3375, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3375, allocations: 11.94 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.338, allocations: 119.9 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.3385, allocations: 347.6 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.3388, allocations: 86.5 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.3391, allocations: 60.92 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.3391, allocations: 4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3391, allocations: 30.56 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3391, allocations: 3.938 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007477/0.3399, allocations: 197.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.3399, allocations: 55.34 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.34, allocations: 132.1 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.34, allocations: 25.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.3401, allocations: 108 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.3401, allocations: 23.84 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.3402, allocations: 17.66 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3403, allocations: 322.8 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.3405, allocations: 47.95 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3407, allocations: 51.94 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.3412, allocations: 113.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3412, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000469/0.3416, allocations: 141.5 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3416, allocations: 8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3417, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3417, allocations: 7.922 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3418, allocations: 23.97 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3418, allocations: 4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.342, allocations: 15.92 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.342, allocations: 4 kB / 1.331 GB, free: 12.72 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.0001131/0.3421, allocations: 130.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.3421, allocations: 3.953 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.3421, allocations: 16.31 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3421, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3422, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3422, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.3424, allocations: 172.7 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3424, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.3425, allocations: 27.97 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3425, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3426, allocations: 7.938 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3426, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3426, allocations: 4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.3431, allocations: 239.4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.3431, allocations: 11.89 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3431, allocations: 3.938 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.3433, allocations: 15.97 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.3433, allocations: 11.98 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.3434, allocations: 4.125 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.3434, allocations: 95.27 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3434, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002503/0.3437, allocations: 27.89 kB / 1.332 GB, free: 11.89 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.0008658/0.3445, allocations: 0.7767 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004808/0.345, allocations: 111.8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.345, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3452, allocations: 59.94 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3456, allocations: 15.98 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.348, allocations: 1.59 MB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3484, allocations: 0.7041 MB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.3484, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.3485, allocations: 31.42 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/0.3485, allocations: 0 / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.3792, allocations: 2.374 MB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 10.23 kB / 1.337 GB, free: 6.242 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: 18.490203148918226]