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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008433/0.0008433, allocations: 89.97 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005165/0.005165, allocations: 176.2 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.388/2.388, allocations: 462.7 MB / 0.7364 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 12.12 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, allocations: 159.6 MB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.001826/0.2597, allocations: 1.477 MB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.2598, allocations: 75.67 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.2599, allocations: 7.938 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.2599, allocations: 7.922 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.26, allocations: 7.875 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.695e-05/0.2601, allocations: 31.97 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2602, allocations: 99.7 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2604, allocations: 49.09 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.2605, allocations: 31.84 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.2605, allocations: 35.78 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2605, allocations: 4 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.2606, allocations: 4 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.2606, allocations: 15.92 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.2606, allocations: 61.44 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.2608, allocations: 99.91 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.2608, allocations: 4 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2608, allocations: 3.938 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2608, allocations: 4 kB / 1.061 GB, free: 2.777 MB / 0.8106 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.0006129/0.2614, allocations: 423.2 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2615, allocations: 11.97 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.2615, allocations: 46.73 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.2616, allocations: 12.75 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.2618, allocations: 196.1 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2618, allocations: 8.375 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.2618, allocations: 8.375 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.2622, allocations: 138.2 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2622, allocations: 3.938 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2622, allocations: 4 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2622, allocations: 4 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.2628, allocations: 159.8 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.2634, allocations: 388.4 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.2639, allocations: 110.5 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.2642, allocations: 68.94 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2643, allocations: 4 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2643, allocations: 34.56 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 3.477e-06/0.2643, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.001117/0.2654, allocations: 253.3 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2655, allocations: 51.41 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2656, allocations: 124.4 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2657, allocations: 29.7 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.2658, allocations: 108 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2658, allocations: 19.64 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.2658, allocations: 21.66 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.266, allocations: 318.8 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.2663, allocations: 64 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.2666, allocations: 71.89 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.2672, allocations: 140.7 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2672, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005204/0.2677, allocations: 173.5 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2678, allocations: 6.031 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2678, allocations: 8.422 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2678, allocations: 3.938 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.268, allocations: 39.91 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.268, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2681, allocations: 27.98 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2681, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 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.249e-05/0.2682, allocations: 121.8 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.2683, allocations: 7.906 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.2683, allocations: 16.31 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2683, allocations: 3.984 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2683, allocations: 4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2683, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2685, allocations: 201.6 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2685, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2687, allocations: 35.97 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2687, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2687, allocations: 3.938 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2687, allocations: 4 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2687, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.2693, allocations: 271.3 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.2694, allocations: 88.95 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2694, allocations: 7.875 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.2695, allocations: 23.97 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2696, allocations: 11.98 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2696, allocations: 4 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.2697, allocations: 95.27 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2697, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002324/0.2699, allocations: 16 kB / 1.065 GB, free: 14.53 MB / 0.8262 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.0008274/0.2707, allocations: 0.8022 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.2713, allocations: 147.8 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2713, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.2716, allocations: 76.19 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2719, allocations: 18.95 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.2742, allocations: 1.714 MB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2745, allocations: 0.6965 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.737e-05/0.2746, allocations: 3.984 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.2746, allocations: 27.44 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2746, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/0.3182, allocations: 1.848 MB / 1.07 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.3184, allocations: 228 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.996, allocations: 0 / 1.07 GB, free: 8.984 MB / 0.8262 GB (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 --timeout=50 --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) 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) Reference file matches