Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.001049/0.001049, 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.0008351/0.0008351, 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.9036/0.9036, 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.758/1.758, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.587e-06/3.587e-06, allocations: 0 / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.435e-05, allocations: 4.953 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003763/0.003798, allocations: 1.946 MB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.006506, allocations: 1.571 MB / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.006885, allocations: 8 kB / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.007049, allocations: 63.19 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.007418, allocations: 95.03 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.009547, allocations: 312.6 kB / 0.9848 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009478/0.01049, allocations: 0.6447 MB / 0.9854 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004968/0.01099, allocations: 254.3 kB / 0.9857 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.01145, allocations: 363.3 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.0117, allocations: 182.7 kB / 0.9862 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.0118, allocations: 72 kB / 0.9863 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.01196, allocations: 87.94 kB / 0.9864 GB, free: 13.03 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.01206, allocations: 135.5 kB / 0.9865 GB, free: 12.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.01227, allocations: 203.5 kB / 0.9867 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008455/0.01311, allocations: 0.8332 MB / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01312, allocations: 0 / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.874e-06/0.01312, allocations: 0 / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.01313, allocations: 0 / 0.9875 GB, free: 11.86 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001228/0.01436, allocations: 0.7563 MB / 0.9882 GB, free: 11.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.01441, allocations: 8.031 kB / 0.9882 GB, free: 11.06 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.01452, allocations: 98.7 kB / 0.9883 GB, free: 10.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.01478, allocations: 68.55 kB / 0.9884 GB, free: 10.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.01529, allocations: 297.7 kB / 0.9887 GB, free: 10.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.01534, allocations: 41.69 kB / 0.9887 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.01541, allocations: 60.38 kB / 0.9888 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008487/0.01626, allocations: 0.511 MB / 0.9893 GB, free: 9.949 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.01628, allocations: 192 / 0.9893 GB, free: 9.949 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.01632, allocations: 20.38 kB / 0.9893 GB, free: 9.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.01633, allocations: 16.12 kB / 0.9893 GB, free: 9.914 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.01704, allocations: 361.1 kB / 0.9897 GB, free: 9.562 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.01909, allocations: 1.252 MB / 0.9909 GB, free: 8.258 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.01948, allocations: 265.4 kB / 0.9911 GB, free: 7.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.01973, allocations: 169.5 kB / 0.9913 GB, free: 7.809 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.01976, allocations: 11.94 kB / 0.9913 GB, free: 7.797 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.02007, allocations: 196.1 kB / 0.9915 GB, free: 7.586 MB / 0.948 GB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.02007, allocations: 0 / 0.9915 GB, free: 7.586 MB / 0.948 GB Notification: Performance of matching and sorting (n=34): time 0.0005483/0.02062, allocations: 394.6 kB / 0.9919 GB, free: 7.199 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.02067, allocations: 89.09 kB / 0.992 GB, free: 7.094 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.02097, allocations: 409.6 kB / 0.9924 GB, free: 6.688 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.021, allocations: 37.69 kB / 0.9924 GB, free: 6.645 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.02113, allocations: 272.4 kB / 0.9926 GB, free: 6.375 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.02119, allocations: 119 kB / 0.9928 GB, free: 6.258 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.02129, allocations: 82.19 kB / 0.9928 GB, free: 6.172 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.0214, allocations: 350.8 kB / 0.9932 GB, free: 5.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.02161, allocations: 170.6 kB / 0.9933 GB, free: 5.648 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.02183, allocations: 229.5 kB / 0.9936 GB, free: 5.395 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.02219, allocations: 348.2 kB / 0.9939 GB, free: 5.027 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02219, allocations: 0 / 0.9939 GB, free: 5.027 MB / 0.948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005395/0.02273, allocations: 0.5097 MB / 0.9944 GB, free: 4.504 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.02277, allocations: 33.7 kB / 0.9944 GB, free: 4.465 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.02277, allocations: 4 kB / 0.9944 GB, free: 4.461 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.02279, allocations: 7.984 kB / 0.9944 GB, free: 4.453 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.02296, allocations: 79.84 kB / 0.9945 GB, free: 4.375 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.02296, allocations: 4 kB / 0.9945 GB, free: 4.371 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.02314, allocations: 79.52 kB / 0.9946 GB, free: 4.293 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.02317, allocations: 23.94 kB / 0.9946 GB, free: 4.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001368/0.0233, allocations: 169.8 kB / 0.9948 GB, free: 4.094 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.02333, allocations: 43.7 kB / 0.9948 GB, free: 4.051 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.02372, allocations: 328.8 kB / 0.9951 GB, free: 3.715 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.02372, allocations: 4 kB / 0.9951 GB, free: 3.711 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.02373, allocations: 4 kB / 0.9951 GB, free: 3.707 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02373, allocations: 0 / 0.9951 GB, free: 3.707 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007613/0.02449, allocations: 0.8841 MB / 0.996 GB, free: 2.754 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.0245, allocations: 7.984 kB / 0.996 GB, free: 2.746 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.02463, allocations: 63.84 kB / 0.9961 GB, free: 2.684 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.02463, allocations: 7.938 kB / 0.9961 GB, free: 2.676 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.02465, allocations: 11.94 kB / 0.9961 GB, free: 2.664 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.02466, allocations: 7.938 kB / 0.9961 GB, free: 2.656 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.02466, allocations: 192 / 0.9961 GB, free: 2.656 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.02509, allocations: 0.5134 MB / 0.9966 GB, free: 2.105 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.02514, allocations: 59.55 kB / 0.9966 GB, free: 2.047 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.02518, allocations: 8 kB / 0.9967 GB, free: 2.039 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.02528, allocations: 15.98 kB / 0.9967 GB, free: 2.023 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.02535, allocations: 23.95 kB / 0.9967 GB, free: 2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.02536, allocations: 8 kB / 0.9967 GB, free: 1.992 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002326/0.02559, allocations: 291.2 kB / 0.997 GB, free: 1.715 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.02559, allocations: 0 / 0.997 GB, free: 1.715 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000339/0.02593, allocations: 115.7 kB / 0.9971 GB, free: 1.602 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000686/0.02662, allocations: 1.072 MB / 0.9981 GB, free: 500 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.02706, allocations: 389.1 kB / 0.9985 GB, free: 92 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02707, allocations: 0 / 0.9985 GB, free: 92 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.02723, allocations: 127.8 kB / 0.9986 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.02761, allocations: 69.89 kB / 0.9987 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.03098, allocations: 3.914 MB / 1.003 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.03113, allocations: 224.7 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.03123, allocations: 43.27 kB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.03137, allocations: 156.4 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.03137, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.0515, allocations: 8.139 MB / 1.011 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.85, allocations: 0 / 1.011 GB, free: 3.453 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.98751125484705]