Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_10_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.005555/0.005555, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.001227/0.001227, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 59.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003297/0.3404, allocations: 1.758 MB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.3407, allocations: 83.73 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.3408, allocations: 0 / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.3409, allocations: 7.875 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.341, allocations: 23.78 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.3411, allocations: 23.97 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3413, allocations: 111.7 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3414, allocations: 51.92 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.3415, allocations: 39.84 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.3416, allocations: 55.7 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3417, allocations: 12 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.3417, allocations: 12 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.3417, allocations: 27.91 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.3418, allocations: 47.73 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.342, allocations: 111.6 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.342, allocations: 0 / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.342, allocations: 4 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.342, allocations: 0 / 1.168 GB, free: 4.938 MB / 0.92 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.0006798/0.3427, allocations: 427.9 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3427, allocations: 8.031 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.3428, allocations: 42.73 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3428, allocations: 8.844 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.343, allocations: 208 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3431, allocations: 8.375 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3431, allocations: 4.375 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.3435, allocations: 138.1 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3435, allocations: 3.938 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3435, allocations: 4 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3435, allocations: 4 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.3439, allocations: 125.9 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.3445, allocations: 372.5 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.3448, allocations: 90.5 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3451, allocations: 60.94 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3451, allocations: 0 / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3451, allocations: 34.56 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.3451, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.000705/0.3458, allocations: 201.4 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3459, allocations: 51.41 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.346, allocations: 128.5 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.346, allocations: 29.7 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.3461, allocations: 104 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.3461, allocations: 27.69 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.3462, allocations: 17.72 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3463, allocations: 322.8 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3465, allocations: 43.95 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3467, allocations: 55.94 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.347, allocations: 108.7 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.347, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004162/0.3475, allocations: 141.5 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3475, allocations: 7.984 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3475, allocations: 0 / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3475, allocations: 3.938 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.3477, allocations: 31.97 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3477, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3478, allocations: 20.42 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3478, allocations: 3.984 kB / 1.171 GB, free: 1.926 MB / 0.92 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 0.0001051/0.3479, allocations: 117.8 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.348, allocations: 7.906 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.348, allocations: 16.25 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.348, allocations: 4 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.348, allocations: 4 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3481, allocations: 3.938 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.3483, allocations: 213.5 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3483, allocations: 0 / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3484, allocations: 23.97 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3485, allocations: 4 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3485, allocations: 3.938 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3485, allocations: 0 / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3485, allocations: 0 / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.349, allocations: 239.3 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.349, allocations: 85.02 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.349, allocations: 3.938 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3492, allocations: 23.97 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.3492, allocations: 11.92 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3493, allocations: 4 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.3493, allocations: 99.27 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3493, allocations: 0 / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002359/0.3496, allocations: 12 kB / 1.172 GB, free: 0.9727 MB / 0.92 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.0007737/0.3504, allocations: 0.7709 MB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.3508, allocations: 119.8 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3508, allocations: 0 / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.3511, allocations: 59.94 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.3515, allocations: 12.3 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.3538, allocations: 1.606 MB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3541, allocations: 0.6963 MB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.309e-05/0.3541, allocations: 4 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.3542, allocations: 31.42 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of SimCode: time 7.42e-07/0.3542, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.376, allocations: 2.256 MB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.064, allocations: 3.25 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches