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.0008236/0.0008236, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001377/0.001377, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8669/0.8669, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.66/1.66, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.302e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.001949/0.001962, allocations: 1.75 MB / 0.9522 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.002106, allocations: 83.72 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.002152, allocations: 4 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.002185, allocations: 7.875 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.002235, allocations: 19.8 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 8.902e-05/0.002324, allocations: 31.91 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.002431, allocations: 111.7 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.002554, allocations: 33.3 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.002627, allocations: 59.88 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.002675, allocations: 39.89 kB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.002698, allocations: 12 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.002708, allocations: 8 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.002731, allocations: 27.89 kB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.002762, allocations: 35.92 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.002886, allocations: 127.5 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002888, allocations: 0 / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002889, allocations: 0 / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002893, allocations: 0 / 0.9528 GB, free: 1.098 MB / 0.9011 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.0004224/0.003315, allocations: 353.8 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.00336, allocations: 8.031 kB / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.003391, allocations: 42.73 kB / 0.9532 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.003416, allocations: 12.89 kB / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.003556, allocations: 141.6 kB / 0.9533 GB, free: 496 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.003565, allocations: 8.375 kB / 0.9533 GB, free: 488 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.003576, allocations: 4.375 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.003789, allocations: 126.1 kB / 0.9535 GB, free: 352 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003796, allocations: 4.188 kB / 0.9535 GB, free: 348 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.003806, allocations: 4.375 kB / 0.9535 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.003813, allocations: 4.125 kB / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.004042, allocations: 123.9 kB / 0.9536 GB, free: 216 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.004409, allocations: 327.6 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.00462, allocations: 94.5 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.004731, allocations: 60.86 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.004743, allocations: 0 / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.004759, allocations: 34.56 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.00476, allocations: 0 / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0003924/0.005153, allocations: 193.7 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.005179, allocations: 51.41 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.005259, allocations: 132.9 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.00527, allocations: 29.64 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.005329, allocations: 108 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.005357, allocations: 23.8 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.005392, allocations: 17.72 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.005481, allocations: 318.8 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.005589, allocations: 51.88 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.00569, allocations: 48.33 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.005896, allocations: 112.8 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.005898, allocations: 0 / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002506/0.006149, allocations: 145.5 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.006167, allocations: 8 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.006175, allocations: 0 / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.006193, allocations: 0 / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.006298, allocations: 31.91 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.006306, allocations: 7.938 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.006381, allocations: 15.97 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006389, allocations: 11.94 kB / 0.9553 GB, free: 14.3 MB / 0.9167 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 7.234e-05/0.006462, allocations: 113.8 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.006486, allocations: 7.953 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.00651, allocations: 8.438 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.006513, allocations: 3.984 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.006517, allocations: 0 / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.006521, allocations: 3.938 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.006684, allocations: 168.7 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006685, allocations: 0 / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.779e-05/0.006773, allocations: 27.97 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.006774, allocations: 0 / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.006784, allocations: 4 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.006786, allocations: 7.984 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006787, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.007134, allocations: 239.4 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.007147, allocations: 11.89 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.007162, allocations: 3.984 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/0.01068, allocations: 19.98 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.01074, allocations: 7.922 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.01075, allocations: 8 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.01081, allocations: 99.2 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01081, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002635/0.01107, allocations: 15.95 kB / 0.9561 GB, free: 13.5 MB / 0.9167 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.001294/0.01237, allocations: 0.7748 MB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.01264, allocations: 111.9 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01264, allocations: 0 / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.01275, allocations: 59.88 kB / 0.957 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01298, allocations: 18.17 kB / 0.957 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.01443, allocations: 1.599 MB / 0.9586 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.01448, allocations: 80.33 kB / 0.9586 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.01451, allocations: 7.984 kB / 0.9586 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.01456, allocations: 32.5 kB / 0.9587 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.01456, allocations: 0 / 0.9587 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.03036, allocations: 2.979 MB / 0.9616 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.917, allocations: 4.938 kB / 0.9616 GB, free: 7.867 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.925437913276255]