Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.0007874/0.0007874, 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.001289/0.001289, 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.8591/0.8591, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.735/1.735, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.669e-05, allocations: 4.953 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002549/0.002566, allocations: 2.152 MB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004109, allocations: 1.435 MB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.004204, allocations: 4 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.004641, allocations: 171.1 kB / 0.9846 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.004931, allocations: 187 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.005104, allocations: 119.6 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.005324, allocations: 246.9 kB / 0.9852 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.005443, allocations: 28.47 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.005568, allocations: 127.6 kB / 0.9853 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.005836, allocations: 83.72 kB / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.005861, allocations: 12 kB / 0.9854 GB, free: 13.99 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.005961, allocations: 59.84 kB / 0.9855 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.006056, allocations: 95.62 kB / 0.9856 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.006121, allocations: 67.72 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.006446, allocations: 358.7 kB / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006448, allocations: 0 / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006449, allocations: 0 / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.006455, allocations: 0 / 0.986 GB, free: 13.42 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007571/0.007212, allocations: 0.6202 MB / 0.9866 GB, free: 12.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.00726, allocations: 12.03 kB / 0.9866 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.007303, allocations: 38.73 kB / 0.9866 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.007365, allocations: 52.61 kB / 0.9867 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.00769, allocations: 294.2 kB / 0.987 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.007706, allocations: 8.375 kB / 0.987 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.00772, allocations: 12.3 kB / 0.987 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.00787, allocations: 103.5 kB / 0.9871 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.007877, allocations: 0 / 0.9871 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.007887, allocations: 4 kB / 0.9871 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.007892, allocations: 0 / 0.9871 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.007969, allocations: 39.92 kB / 0.9871 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.008429, allocations: 423.6 kB / 0.9875 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.008551, allocations: 70.61 kB / 0.9876 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.008586, allocations: 28.84 kB / 0.9876 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.0086, allocations: 0 / 0.9876 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.00872, allocations: 97.09 kB / 0.9877 GB, free: 11.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.008721, allocations: 0 / 0.9877 GB, free: 11.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002526/0.008974, allocations: 153.3 kB / 0.9879 GB, free: 11.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.009007, allocations: 51.41 kB / 0.9879 GB, free: 11.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.009405, allocations: 0.5495 MB / 0.9884 GB, free: 10.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.009424, allocations: 37.7 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.009549, allocations: 220 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.009569, allocations: 19.84 kB / 0.9887 GB, free: 10.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.009622, allocations: 37.7 kB / 0.9887 GB, free: 10.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003953/0.01002, allocations: 362.8 kB / 0.9891 GB, free: 10.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.05e-05/0.01009, allocations: 51.97 kB / 0.9891 GB, free: 9.969 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.01017, allocations: 104.2 kB / 0.9892 GB, free: 9.852 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.01028, allocations: 92.31 kB / 0.9893 GB, free: 9.758 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01029, allocations: 0 / 0.9893 GB, free: 9.758 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002134/0.0105, allocations: 209.3 kB / 0.9895 GB, free: 9.547 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01052, allocations: 4 kB / 0.9895 GB, free: 9.543 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01052, allocations: 0 / 0.9895 GB, free: 9.543 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01054, allocations: 4 kB / 0.9895 GB, free: 9.539 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.01063, allocations: 23.92 kB / 0.9896 GB, free: 9.516 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01064, allocations: 0 / 0.9896 GB, free: 9.516 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.0107, allocations: 19.92 kB / 0.9896 GB, free: 9.496 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.01072, allocations: 4 kB / 0.9896 GB, free: 9.492 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001469/0.01086, allocations: 181.8 kB / 0.9897 GB, free: 9.305 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.0109, allocations: 59.62 kB / 0.9898 GB, free: 9.246 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.01107, allocations: 137.6 kB / 0.9899 GB, free: 9.105 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01107, allocations: 4 kB / 0.9899 GB, free: 9.102 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01108, allocations: 256 / 0.9899 GB, free: 9.102 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01108, allocations: 3.938 kB / 0.9899 GB, free: 9.098 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01125, allocations: 260.6 kB / 0.9902 GB, free: 8.801 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01125, allocations: 0 / 0.9902 GB, free: 8.801 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.01127, allocations: 8.109 kB / 0.9902 GB, free: 8.793 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01127, allocations: 3.938 kB / 0.9902 GB, free: 8.789 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.01128, allocations: 3.938 kB / 0.9902 GB, free: 8.785 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01128, allocations: 4 kB / 0.9902 GB, free: 8.781 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01128, allocations: 0 / 0.9902 GB, free: 8.781 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.01141, allocations: 176.7 kB / 0.9904 GB, free: 8.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.01145, allocations: 43.66 kB / 0.9904 GB, free: 8.547 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.01147, allocations: 0 / 0.9904 GB, free: 8.547 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.01151, allocations: 7.984 kB / 0.9904 GB, free: 8.539 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.01154, allocations: 11.98 kB / 0.9904 GB, free: 8.527 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01155, allocations: 7.938 kB / 0.9904 GB, free: 8.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002392/0.01179, allocations: 370.8 kB / 0.9908 GB, free: 8.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.01179, allocations: 0 / 0.9908 GB, free: 8.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001769/0.01197, allocations: 47.95 kB / 0.9908 GB, free: 8.113 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009617/0.01293, allocations: 1.043 MB / 0.9919 GB, free: 7.227 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.01309, allocations: 87.95 kB / 0.992 GB, free: 7.141 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.0131, allocations: 3.938 kB / 0.992 GB, free: 7.137 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.01314, allocations: 27.98 kB / 0.992 GB, free: 7.109 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.01336, allocations: 61.17 kB / 0.992 GB, free: 7.051 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.01566, allocations: 3.106 MB / 0.9951 GB, free: 3.848 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.0158, allocations: 216.4 kB / 0.9953 GB, free: 3.621 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.566e-05/0.01585, allocations: 25.78 kB / 0.9953 GB, free: 3.598 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.01596, allocations: 116.5 kB / 0.9954 GB, free: 3.484 MB / 0.948 GB Notification: Performance of SimCode: time 3.8e-07/0.01596, allocations: 0 / 0.9954 GB, free: 3.484 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.03461, allocations: 8.296 MB / 1.004 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/6.944, allocations: 15.28 kB / 1.004 GB, free: 11.3 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.886926304548979]