Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 114.4 kB / 16.41 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 489.1 MB / 0.7678 GB, free: 96 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 71.89 kB / 1.101 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.752/0.7541, allocations: 163.8 MB / 1.261 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00293/0.7571, allocations: 1.752 MB / 1.263 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.7573, allocations: 83.67 kB / 1.263 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.7573, allocations: 4 kB / 1.263 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.19e-05/0.7574, allocations: 7.875 kB / 1.263 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/0.7574, allocations: 19.84 kB / 1.263 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.208e-05/0.7575, allocations: 31.91 kB / 1.263 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.7577, allocations: 111.7 kB / 1.263 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.7579, allocations: 60.94 kB / 1.263 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.641e-05/0.7579, allocations: 35.86 kB / 1.263 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.758, allocations: 51.77 kB / 1.263 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.758, allocations: 15.98 kB / 1.263 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.7581, allocations: 12 kB / 1.263 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.7581, allocations: 23.86 kB / 1.263 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.7582, allocations: 55.72 kB / 1.263 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.7583, allocations: 114.4 kB / 1.263 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7584, allocations: 0 / 1.263 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.447e-06/0.7584, allocations: 0 / 1.263 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.7584, allocations: 3.938 kB / 1.263 GB, free: 4.73 MB / 0.9669 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.0006674/0.759, allocations: 434.9 kB / 1.264 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7591, allocations: 12.03 kB / 1.264 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.7591, allocations: 38.75 kB / 1.264 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.7592, allocations: 16.89 kB / 1.264 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.7594, allocations: 196.2 kB / 1.264 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.7594, allocations: 8.375 kB / 1.264 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.7594, allocations: 8.375 kB / 1.264 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.7598, allocations: 127.8 kB / 1.264 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7598, allocations: 7.922 kB / 1.264 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.7599, allocations: 8 kB / 1.264 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.7599, allocations: 0 / 1.264 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.7603, allocations: 115.9 kB / 1.264 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.7609, allocations: 384.5 kB / 1.265 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.7612, allocations: 86.52 kB / 1.265 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.7615, allocations: 68.86 kB / 1.265 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.7615, allocations: 7.984 kB / 1.265 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.7615, allocations: 30.56 kB / 1.265 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.7615, allocations: 0 / 1.265 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007826/0.7623, allocations: 193.6 kB / 1.265 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.7624, allocations: 51.41 kB / 1.265 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.7625, allocations: 127.1 kB / 1.265 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.7625, allocations: 25.7 kB / 1.265 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.7626, allocations: 108 kB / 1.265 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.7626, allocations: 27.78 kB / 1.265 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.7627, allocations: 17.72 kB / 1.265 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7628, allocations: 322.8 kB / 1.266 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.7631, allocations: 51.88 kB / 1.266 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.7633, allocations: 47.95 kB / 1.266 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.7637, allocations: 108.8 kB / 1.266 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7637, allocations: 0 / 1.266 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004857/0.7642, allocations: 145.5 kB / 1.266 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7643, allocations: 9.562 kB / 1.266 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.7643, allocations: 0 / 1.266 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7643, allocations: 3.938 kB / 1.266 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.7645, allocations: 32.34 kB / 1.266 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.7645, allocations: 7.922 kB / 1.266 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.7646, allocations: 23.91 kB / 1.266 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.7646, allocations: 8 kB / 1.266 GB, free: 1.695 MB / 0.9669 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 8.685e-05/0.7647, allocations: 113.8 kB / 1.266 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.7647, allocations: 7.953 kB / 1.266 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.7648, allocations: 20.31 kB / 1.266 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7648, allocations: 0 / 1.266 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7648, allocations: 0 / 1.266 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7648, allocations: 3.984 kB / 1.266 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.765, allocations: 197.6 kB / 1.266 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.765, allocations: 0 / 1.266 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.7652, allocations: 31.97 kB / 1.266 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7652, allocations: 0 / 1.266 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.7652, allocations: 3.938 kB / 1.266 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7652, allocations: 0 / 1.266 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7652, allocations: 0 / 1.266 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.7658, allocations: 243.4 kB / 1.267 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.7659, allocations: 81.06 kB / 1.267 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.7659, allocations: 3.938 kB / 1.267 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.766, allocations: 23.97 kB / 1.267 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.7661, allocations: 7.984 kB / 1.267 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.7661, allocations: 0 / 1.267 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.7662, allocations: 109 kB / 1.267 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7662, allocations: 0 / 1.267 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002315/0.7664, allocations: 19.95 kB / 1.267 GB, free: 0.75 MB / 0.9669 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.0008811/0.7673, allocations: 0.7709 MB / 1.268 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.7678, allocations: 115.8 kB / 1.268 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7678, allocations: 4 kB / 1.268 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.7681, allocations: 59.89 kB / 1.268 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.7684, allocations: 16.36 kB / 1.268 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.7708, allocations: 1.581 MB / 1.269 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.7711, allocations: 0.7041 MB / 1.27 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.7712, allocations: 0 / 1.27 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.7713, allocations: 39.3 kB / 1.27 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.7713, allocations: 0 / 1.27 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.7942, allocations: 2.25 MB / 1.272 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/9.313, allocations: 16.67 kB / 1.272 GB, free: 11.22 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.209338696906343]