Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",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.001721/0.001721, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 190.1 kB / 16.67 MB, free: 6.582 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.341/2.341, allocations: 437.1 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2484, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00226/0.2507, allocations: 1.531 MB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2517, allocations: 0.7605 MB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.2517, allocations: 0 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.2518, allocations: 3.938 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.2518, allocations: 19.84 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.2521, allocations: 94.91 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.224e-05/0.2522, allocations: 51.73 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.951e-05/0.2523, allocations: 7.984 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.2524, allocations: 27.92 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.2525, allocations: 23.91 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2525, allocations: 4 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.2526, allocations: 71.94 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.2526, allocations: 11.92 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.2527, allocations: 19.94 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.2528, allocations: 95.92 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2528, allocations: 3.938 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2529, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.2529, allocations: 0 / 1.169 GB, free: 4.527 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004383/0.2533, allocations: 387 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2533, allocations: 12.03 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.2534, allocations: 38.75 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.2536, allocations: 20.91 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2538, allocations: 176.3 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.2538, allocations: 384 / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2538, allocations: 4.375 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.254, allocations: 81.75 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.254, allocations: 4 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2541, allocations: 4 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2541, allocations: 0 / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.2543, allocations: 71.81 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.2547, allocations: 320.8 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.255, allocations: 70.53 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.2551, allocations: 40.92 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2552, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2552, allocations: 38.5 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2552, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004698/0.2557, allocations: 133.6 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2557, allocations: 55.41 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.2558, allocations: 121.8 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2558, allocations: 25.7 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.2559, allocations: 92.08 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.2559, allocations: 3.953 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.2559, allocations: 21.7 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2561, allocations: 322.8 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2562, allocations: 31.97 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2563, allocations: 35.98 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.2566, allocations: 72.73 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.2566, allocations: 4 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002923/0.2569, allocations: 105.9 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.2569, allocations: 4 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2569, allocations: 0 / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2569, allocations: 7.938 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.257, allocations: 19.97 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.257, allocations: 3.984 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2572, allocations: 4 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.2572, allocations: 11.98 kB / 1.171 GB, free: 1.996 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 (3): * Single equations (assignments): 3 * 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.0001065/0.2573, allocations: 109.8 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.2574, allocations: 7.953 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.2574, allocations: 11.91 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2574, allocations: 7.922 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2575, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.2575, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.2578, allocations: 193.2 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2578, allocations: 8 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.258, allocations: 11.98 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.258, allocations: 0 / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.258, allocations: 7.984 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.258, allocations: 0 / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.258, allocations: 0 / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.2586, allocations: 207.4 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.2586, allocations: 81.11 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2587, allocations: 3.938 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.2589, allocations: 7.984 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.2589, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.2589, allocations: 7.984 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.521e-05/0.259, allocations: 95.59 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/0.259, allocations: 4 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004378/0.2595, allocations: 39.86 kB / 1.172 GB, free: 1.105 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 (3): * Single equations (assignments): 3 * 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.0009873/0.2605, allocations: 0.7591 MB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.261, allocations: 67.94 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.261, allocations: 3.938 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.2612, allocations: 39.91 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.2616, allocations: 8 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.2621, allocations: 220.5 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.2624, allocations: 0.6807 MB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.08e-05/0.2625, allocations: 15.98 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.2625, allocations: 23.42 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2625, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.35/2.612, allocations: 2.144 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/18.73, allocations: 13.84 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches