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.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.001587/0.001587, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001904/0.001904, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.159/3.159, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_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.001972/0.001972, allocations: 65.98 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.335, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002904/0.3379, allocations: 1.725 MB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001726/0.3381, allocations: 83.73 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.3381, allocations: 4 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.3382, allocations: 15.86 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.3382, allocations: 11.81 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.561e-05/0.3383, allocations: 31.95 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3385, allocations: 103.7 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3386, allocations: 56.89 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.3387, allocations: 43.84 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.3388, allocations: 47.78 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.3388, allocations: 12 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.3388, allocations: 12 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/0.3388, allocations: 27.91 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.3389, allocations: 39.8 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.339, allocations: 107.5 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.339, allocations: 7.984 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.442e-06/0.339, allocations: 0 / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.339, allocations: 0 / 1.348 GB, free: 13.58 MB / 1.045 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.0006368/0.3397, allocations: 357.8 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3397, allocations: 12.03 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.3397, allocations: 4.188 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.3398, allocations: 38.75 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.3398, allocations: 8.891 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.34, allocations: 150.2 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.34, allocations: 4.375 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.34, allocations: 12.38 kB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.3404, allocations: 134.9 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3404, allocations: 0 / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3404, allocations: 7.938 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3404, allocations: 0 / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.3409, allocations: 119.9 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.3414, allocations: 339.6 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.3417, allocations: 82.52 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.3419, allocations: 56.92 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.342, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.342, allocations: 46.5 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.342, allocations: 0 / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.00073/0.3427, allocations: 197.5 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.3428, allocations: 55.41 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3429, allocations: 125.8 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3429, allocations: 25.7 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.3429, allocations: 104 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.343, allocations: 19.86 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.343, allocations: 21.7 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3431, allocations: 310.8 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.3434, allocations: 51.94 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.3436, allocations: 55.94 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.344, allocations: 108.7 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.344, allocations: 0 / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004514/0.3444, allocations: 141.5 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3444, allocations: 8 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3444, allocations: 3.938 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3444, allocations: 0 / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3446, allocations: 27.97 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3446, allocations: 0 / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3447, allocations: 28.34 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3447, allocations: 0 / 1.35 GB, free: 10.78 MB / 1.045 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 9.434e-05/0.3448, allocations: 117.8 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3449, allocations: 7.953 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.3449, allocations: 20.3 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3449, allocations: 0 / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3449, allocations: 4 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3449, allocations: 4 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.3451, allocations: 168.7 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3451, allocations: 4 kB / 1.35 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3453, allocations: 23.97 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3453, allocations: 3.984 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3453, allocations: 3.938 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3453, allocations: 3.938 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3453, allocations: 4 kB / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.3458, allocations: 239.4 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.3458, allocations: 7.953 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3458, allocations: 3.938 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.346, allocations: 27.91 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.346, allocations: 3.984 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.346, allocations: 8 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.535e-05/0.3461, allocations: 101.8 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3461, allocations: 0 / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002318/0.3463, allocations: 19.89 kB / 1.351 GB, free: 9.945 MB / 1.045 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.0008111/0.3471, allocations: 0.7709 MB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.3476, allocations: 111.8 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3476, allocations: 0 / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3478, allocations: 55.94 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3481, allocations: 17.3 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.3504, allocations: 1.595 MB / 1.353 GB, free: 7.293 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.164e-05/0.3505, allocations: 85.56 kB / 1.353 GB, free: 7.191 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.282e-05/0.3506, allocations: 7.984 kB / 1.353 GB, free: 7.184 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.3506, allocations: 27.44 kB / 1.353 GB, free: 7.156 MB / 1.045 GB Notification: Performance of SimCode: time 3.8e-07/0.3506, allocations: 0 / 1.353 GB, free: 7.156 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.3726, allocations: 2.486 MB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.72, allocations: 8.047 kB / 1.356 GB, free: 4.82 MB / 1.045 GB " [Timeout remaining time 288] (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/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: 18.298118750099093]