Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.00575/0.00575, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.0013/0.0013, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.44 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2578, allocations: 140.4 MB / 1.088 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002793/0.2606, allocations: 1.595 MB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00016/0.2608, allocations: 47.81 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.2609, allocations: 7.938 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.261, allocations: 15.86 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.261, allocations: 7.875 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.354e-05/0.2611, allocations: 23.97 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2613, allocations: 71.77 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2614, allocations: 16.16 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.2615, allocations: 27.92 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.2615, allocations: 35.84 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2616, allocations: 8 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.2616, allocations: 4 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.2616, allocations: 19.92 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.2617, allocations: 27.8 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2618, allocations: 70.59 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2618, allocations: 0 / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2618, allocations: 0 / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2618, allocations: 0 / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006347/0.2624, allocations: 404 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2625, allocations: 8.031 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.2625, allocations: 30.75 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.2626, allocations: 8.844 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2627, allocations: 180.1 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2627, allocations: 8.375 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2627, allocations: 3.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.2631, allocations: 101.6 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2631, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2631, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2631, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.2636, allocations: 107.8 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.2641, allocations: 304.7 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.2644, allocations: 86.61 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.2647, allocations: 68.86 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2647, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2647, allocations: 34.56 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2648, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007548/0.2655, allocations: 185.5 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2656, allocations: 59.39 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.2657, allocations: 113.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2657, allocations: 25.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.2657, allocations: 92.05 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2658, allocations: 31.72 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.2658, allocations: 17.72 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2659, allocations: 322.8 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.2662, allocations: 47.89 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2664, allocations: 55.94 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.2668, allocations: 109.1 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2668, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004622/0.2673, allocations: 145.4 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2673, allocations: 7.984 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2673, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2673, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2675, allocations: 31.91 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2675, allocations: 3.938 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2676, allocations: 19.92 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2676, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 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.344e-05/0.2677, allocations: 113.8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.2677, allocations: 11.89 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.2678, allocations: 12.38 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2678, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2678, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2678, allocations: 3.938 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.268, allocations: 181.6 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.268, allocations: 4 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.2682, allocations: 31.97 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2682, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2682, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2682, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2682, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.2687, allocations: 247.2 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2687, allocations: 85.02 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2688, allocations: 128 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2689, allocations: 23.97 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.269, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.269, allocations: 15.92 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.269, allocations: 87.28 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.269, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002199/0.2693, allocations: 12 kB / 1.093 GB, free: 12.34 MB / 0.8575 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.0007783/0.2701, allocations: 0.7765 MB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.2705, allocations: 107.9 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2706, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.2708, allocations: 67.88 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.2711, allocations: 7.938 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.2718, allocations: 211.3 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2721, allocations: 0.6885 MB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.572e-05/0.2721, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.2722, allocations: 23.38 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2722, allocations: 0 / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.2911, allocations: 2.204 MB / 1.097 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.599, allocations: 16.33 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches