Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_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.0009677/0.0009677, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001246/0.001246, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.473/2.473, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 17.33 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001585/0.2342, allocations: 1.265 MB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2353, allocations: 0.7559 MB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.2354, allocations: 0 / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.2354, allocations: 11.86 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.2355, allocations: 3.938 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.2358, allocations: 79.67 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.2358, allocations: 47.86 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.2359, allocations: 19.97 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.236, allocations: 19.86 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.2361, allocations: 19.92 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2361, allocations: 4 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2362, allocations: 71.88 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2363, allocations: 7.984 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.2363, allocations: 41.58 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2365, allocations: 92.03 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2365, allocations: 7.938 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2365, allocations: 0 / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2365, allocations: 0 / 1.061 GB, free: 2.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003954/0.2369, allocations: 371.4 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2369, allocations: 15.97 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.237, allocations: 30.75 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.2373, allocations: 28.81 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2374, allocations: 172.3 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2374, allocations: 8.312 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2374, allocations: 4.375 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.2377, allocations: 81.77 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.2377, allocations: 0 / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2377, allocations: 4 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2377, allocations: 4 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.238, allocations: 67.94 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.2384, allocations: 316.8 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.2387, allocations: 82.47 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.2388, allocations: 44.92 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2388, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2389, allocations: 38.56 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.2389, allocations: 0 / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005017/0.2394, allocations: 145.5 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.2395, allocations: 59.34 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.2395, allocations: 117.8 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2396, allocations: 29.64 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.2396, allocations: 92.14 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2397, allocations: 15.75 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.2397, allocations: 13.7 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.2398, allocations: 318.8 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2399, allocations: 39.97 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2401, allocations: 44.09 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.2404, allocations: 72.89 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2404, allocations: 4 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003225/0.2407, allocations: 109.6 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2407, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2407, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2408, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.2409, allocations: 23.97 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2409, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.241, allocations: 7.984 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.241, allocations: 4 kB / 1.063 GB, free: 15.85 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 (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 7.276e-05/0.2411, allocations: 113.8 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.2411, allocations: 7.906 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.2412, allocations: 19.88 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2412, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2412, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2412, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.2414, allocations: 197.5 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2414, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.2415, allocations: 19.97 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2415, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2415, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2415, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2415, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.2419, allocations: 219.3 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.242, allocations: 77.11 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.242, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2421, allocations: 11.98 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.2422, allocations: 4 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2422, allocations: 11.92 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.2422, allocations: 91.7 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2422, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002476/0.2425, allocations: 24 kB / 1.064 GB, free: 14.96 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 (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.0006488/0.2432, allocations: 0.7708 MB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.2435, allocations: 79.94 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2435, allocations: 4 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2436, allocations: 39.97 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.2439, allocations: 7.984 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.2444, allocations: 232.1 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.2446, allocations: 0.6809 MB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.656e-05/0.2447, allocations: 20.3 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.2448, allocations: 23.42 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2448, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6797/0.9245, allocations: 1.884 MB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/0.9249, allocations: 213.2 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.848, allocations: 3.938 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches