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.004779/0.004779, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001244/0.001244, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.284/2.284, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 71.88 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002514/0.2304, allocations: 1.753 MB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000142/0.2306, allocations: 83.67 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.2306, allocations: 7.938 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.2307, allocations: 11.86 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.2307, allocations: 15.81 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.357e-05/0.2308, allocations: 31.95 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2309, allocations: 107.7 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2311, allocations: 56.73 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.2311, allocations: 39.84 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.2312, allocations: 51.77 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.2312, allocations: 12 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.2312, allocations: 8 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.2313, allocations: 23.92 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.2313, allocations: 55.73 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.2315, allocations: 111.5 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2315, allocations: 4 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2315, allocations: 0 / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2315, allocations: 0 / 1.169 GB, free: 4.855 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.0005782/0.2321, allocations: 430.9 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2321, allocations: 12.03 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.2322, allocations: 46.73 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.2322, allocations: 8.891 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2324, allocations: 200.1 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2324, allocations: 8.375 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2324, allocations: 12.31 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.2327, allocations: 118.2 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2328, allocations: 7.938 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2328, allocations: 8 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2328, allocations: 3.938 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.2332, allocations: 119.9 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.2336, allocations: 380.5 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.2339, allocations: 98.44 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.2341, allocations: 60.92 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2342, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2342, allocations: 34.56 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.2342, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0006748/0.2349, allocations: 193.6 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2349, allocations: 51.41 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.235, allocations: 127.7 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.235, allocations: 29.7 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.2351, allocations: 108 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.2351, allocations: 23.73 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.2352, allocations: 25.7 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2353, allocations: 318.8 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.2355, allocations: 51.94 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.2357, allocations: 51.94 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.2361, allocations: 108.8 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2361, allocations: 384 / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004229/0.2365, allocations: 145.5 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.2365, allocations: 4 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2365, allocations: 0 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2365, allocations: 7.938 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2367, allocations: 27.91 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.2367, allocations: 0 / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2368, allocations: 19.97 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2368, allocations: 4 kB / 1.171 GB, free: 1.832 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 7.97e-05/0.2369, allocations: 117.8 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.2369, allocations: 7.953 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2369, allocations: 16.3 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.237, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.237, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.237, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.2372, allocations: 205.5 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2372, allocations: 0 / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2373, allocations: 31.91 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2373, allocations: 4 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2373, allocations: 3.938 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2373, allocations: 0 / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2373, allocations: 0 / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.2378, allocations: 239.4 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.2378, allocations: 85.06 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2379, allocations: 7.938 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.238, allocations: 19.97 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.238, allocations: 4 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2381, allocations: 4 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.2381, allocations: 101.4 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2381, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000205/0.2383, allocations: 19.95 kB / 1.172 GB, free: 0.8867 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.0007384/0.2391, allocations: 0.7827 MB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.2395, allocations: 111.9 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2395, allocations: 4 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.2397, allocations: 59.88 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.24, allocations: 24.5 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.242, allocations: 1.604 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.2423, allocations: 0.6963 MB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.2423, allocations: 7.984 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.2424, allocations: 27.44 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.2424, allocations: 0 / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.326/4.568, allocations: 2.244 MB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/12.45, allocations: 10.58 kB / 1.178 GB, free: 11.31 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=400 --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