Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007891/0.0007891, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007893/0.0007893, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8728/0.8728, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.682/1.682, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.334e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002152/0.002166, allocations: 1.976 MB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.003013, allocations: 0.7088 MB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.003093, allocations: 4 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003208, allocations: 23.72 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.003272, allocations: 19.81 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.003594, allocations: 107.7 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.003726, allocations: 147.6 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.003849, allocations: 57.02 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.00398, allocations: 103.7 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.00404, allocations: 47.8 kB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.004062, allocations: 16 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.004169, allocations: 63.94 kB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.004239, allocations: 71.75 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.004283, allocations: 55.83 kB / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.004517, allocations: 279 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004519, allocations: 0 / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00452, allocations: 0 / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004523, allocations: 0 / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005254/0.005049, allocations: 0.4892 MB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.00508, allocations: 8.031 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.005113, allocations: 38.75 kB / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.006258, allocations: 0.6557 MB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.006537, allocations: 272.9 kB / 0.986 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.006615, allocations: 139.6 kB / 0.9861 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.006637, allocations: 12.38 kB / 0.9861 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.007107, allocations: 444.8 kB / 0.9865 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.007113, allocations: 192 / 0.9865 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.007131, allocations: 11.94 kB / 0.9865 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.007136, allocations: 4 kB / 0.9865 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006617/0.007798, allocations: 0.6489 MB / 0.9872 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000969/0.008767, allocations: 1.036 MB / 0.9882 GB, free: 11.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.009127, allocations: 350.1 kB / 0.9885 GB, free: 10.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.009448, allocations: 324.5 kB / 0.9888 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.009463, allocations: 0 / 0.9888 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.009481, allocations: 38.56 kB / 0.9889 GB, free: 10.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.009482, allocations: 0 / 0.9889 GB, free: 10.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.001051/0.01053, allocations: 0.9729 MB / 0.9898 GB, free: 9.332 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.01056, allocations: 55.39 kB / 0.9899 GB, free: 9.266 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.01076, allocations: 293.9 kB / 0.9902 GB, free: 8.977 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.01077, allocations: 29.7 kB / 0.9902 GB, free: 8.941 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.01084, allocations: 152.2 kB / 0.9903 GB, free: 8.789 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.01087, allocations: 27.94 kB / 0.9904 GB, free: 8.762 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.01093, allocations: 73.64 kB / 0.9904 GB, free: 8.684 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.01101, allocations: 330.8 kB / 0.9907 GB, free: 8.352 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.01132, allocations: 319.6 kB / 0.991 GB, free: 8.039 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.01162, allocations: 311.6 kB / 0.9913 GB, free: 7.734 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.01217, allocations: 0.5357 MB / 0.9919 GB, free: 7.195 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01218, allocations: 0 / 0.9919 GB, free: 7.195 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009021/0.01308, allocations: 0.6686 MB / 0.9925 GB, free: 6.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.01309, allocations: 4 kB / 0.9925 GB, free: 6.516 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.01309, allocations: 4 kB / 0.9925 GB, free: 6.512 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.0131, allocations: 7.984 kB / 0.9925 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.01337, allocations: 163.7 kB / 0.9927 GB, free: 6.344 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01338, allocations: 0 / 0.9927 GB, free: 6.344 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.01356, allocations: 123.7 kB / 0.9928 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.902e-05/0.01365, allocations: 135.7 kB / 0.9929 GB, free: 6.09 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.471e-05/0.01374, allocations: 137.8 kB / 0.9931 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.01378, allocations: 27.8 kB / 0.9931 GB, free: 5.918 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.01381, allocations: 25.77 kB / 0.9931 GB, free: 5.887 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01381, allocations: 0 / 0.9931 GB, free: 5.887 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01381, allocations: 0 / 0.9931 GB, free: 5.887 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.01382, allocations: 0 / 0.9931 GB, free: 5.887 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.01409, allocations: 391.8 kB / 0.9935 GB, free: 5.461 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0141, allocations: 0 / 0.9935 GB, free: 5.461 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.01429, allocations: 167.6 kB / 0.9937 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01429, allocations: 4 kB / 0.9937 GB, free: 5.293 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.01431, allocations: 23.95 kB / 0.9937 GB, free: 5.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01432, allocations: 0 / 0.9937 GB, free: 5.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01432, allocations: 0 / 0.9937 GB, free: 5.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.01504, allocations: 0.7603 MB / 0.9944 GB, free: 4.492 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.01507, allocations: 27.78 kB / 0.9945 GB, free: 4.465 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.01509, allocations: 7.938 kB / 0.9945 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.01525, allocations: 115.8 kB / 0.9946 GB, free: 4.344 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.01529, allocations: 3.984 kB / 0.9946 GB, free: 4.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.39e-05/0.01537, allocations: 143.7 kB / 0.9947 GB, free: 4.199 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001356/0.01551, allocations: 221.2 kB / 0.9949 GB, free: 3.984 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01551, allocations: 4 kB / 0.9949 GB, free: 3.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000202/0.01571, allocations: 39.89 kB / 0.995 GB, free: 3.941 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0009051/0.01662, allocations: 1.306 MB / 0.9962 GB, free: 2.609 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006798/0.0173, allocations: 0.6515 MB / 0.9969 GB, free: 1.957 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0173, allocations: 0 / 0.9969 GB, free: 1.957 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.01762, allocations: 343.5 kB / 0.9972 GB, free: 1.621 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01782, allocations: 12.5 kB / 0.9972 GB, free: 1.609 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.02137, allocations: 4.226 MB / 1.001 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.02147, allocations: 132.7 kB / 1.001 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.02176, allocations: 392.8 kB / 1.002 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.02203, allocations: 116.4 kB / 1.002 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.02203, allocations: 8 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.03857, allocations: 5.925 MB / 1.008 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/6.614, allocations: 5.312 kB / 1.008 GB, free: 6.875 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.46427586581558]