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.001068/0.001068, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008067/0.008067, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 443.4 MB / 0.7176 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 8.781 kB / 0.8797 GB, free: 42.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2335, allocations: 155.2 MB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001561/0.2351, allocations: 1.258 MB / 1.032 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2363, allocations: 0.757 MB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.2363, allocations: 0 / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.2363, allocations: 0 / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.2364, allocations: 19.86 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.2367, allocations: 75.78 kB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.055e-05/0.2368, allocations: 51.72 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.699e-05/0.2369, allocations: 8 kB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.237, allocations: 27.91 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.237, allocations: 23.92 kB / 1.033 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.2371, allocations: 4 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.2372, allocations: 55.95 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.2372, allocations: 15.91 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.2373, allocations: 45.58 kB / 1.034 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.2374, allocations: 96.03 kB / 1.034 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2374, allocations: 0 / 1.034 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2375, allocations: 0 / 1.034 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2375, allocations: 0 / 1.034 GB, free: 1.836 MB / 0.7794 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.0003953/0.2379, allocations: 375.3 kB / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2379, allocations: 8.031 kB / 1.034 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.788e-05/0.2379, allocations: 34.69 kB / 1.034 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.2382, allocations: 28.81 kB / 1.034 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2383, allocations: 180.2 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.2384, allocations: 384 / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2384, allocations: 4.375 kB / 1.034 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.2386, allocations: 85.77 kB / 1.034 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.2386, allocations: 0 / 1.034 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2387, allocations: 3.984 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2387, allocations: 0 / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.2389, allocations: 75.95 kB / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.2394, allocations: 312.8 kB / 1.035 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.2397, allocations: 78.53 kB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2398, allocations: 44.92 kB / 1.035 GB, free: 480 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.2398, allocations: 0 / 1.035 GB, free: 480 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2399, allocations: 34.56 kB / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.2399, allocations: 0 / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.00052/0.2404, allocations: 161.4 kB / 1.035 GB, free: 268 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.2404, allocations: 51.41 kB / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.2405, allocations: 113.8 kB / 1.035 GB, free: 80 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2406, allocations: 29.7 kB / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.2406, allocations: 92.08 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.2406, allocations: 19.8 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.2407, allocations: 9.719 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.2408, allocations: 318.8 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.2409, allocations: 35.97 kB / 1.036 GB, free: 15.56 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2411, allocations: 43.91 kB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.2413, allocations: 76.81 kB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2413, allocations: 0 / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003213/0.2417, allocations: 113.6 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2417, allocations: 4 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2417, allocations: 0 / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.2417, allocations: 0 / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.2419, allocations: 19.98 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.2419, allocations: 0 / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.242, allocations: 15.98 kB / 1.036 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.242, allocations: 4 kB / 1.036 GB, free: 15.28 MB / 0.795 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.291e-05/0.2421, allocations: 117.7 kB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.2421, allocations: 8.234 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.2421, allocations: 7.906 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2422, allocations: 4 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2422, allocations: 7.984 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2422, allocations: 4 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2424, allocations: 189.5 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2424, allocations: 0 / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.2425, allocations: 19.97 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2425, allocations: 0 / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2425, allocations: 4 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.2425, allocations: 3.938 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2425, allocations: 0 / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.2429, allocations: 215.3 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.2429, allocations: 81.11 kB / 1.037 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.243, allocations: 0 / 1.037 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2431, allocations: 15.98 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.2431, allocations: 3.984 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2431, allocations: 0 / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.2432, allocations: 95.27 kB / 1.037 GB, free: 14.42 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.372e-06/0.2432, allocations: 0 / 1.037 GB, free: 14.42 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002616/0.2435, allocations: 35.88 kB / 1.037 GB, free: 14.38 MB / 0.795 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.0006559/0.2441, allocations: 0.7669 MB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.2444, allocations: 83.94 kB / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2445, allocations: 0 / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.2446, allocations: 47.95 kB / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2449, allocations: 11.94 kB / 1.038 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.2454, allocations: 221.9 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.2456, allocations: 0.6848 MB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.705e-05/0.2457, allocations: 15.98 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.2458, allocations: 23.41 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.2458, allocations: 0 / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1218/0.3676, allocations: 1.882 MB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.3678, allocations: 210.2 kB / 1.041 GB, free: 10.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.214, allocations: 0 / 1.041 GB, free: 10.45 MB / 0.795 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