Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",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.00703/0.00703, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.001559/0.00156, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.89 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2924, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003418/0.2959, allocations: 2.203 MB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2981, allocations: 1.532 MB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/0.2984, allocations: 8 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.2985, allocations: 59.2 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.2989, allocations: 95.08 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.2997, allocations: 296.3 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006983/0.3004, allocations: 0.641 MB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004882/0.3009, allocations: 361.8 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.3012, allocations: 231.2 kB / 1.213 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.3014, allocations: 266.6 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.985e-05/0.3015, allocations: 72 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3017, allocations: 87.98 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.3018, allocations: 123.6 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.3021, allocations: 294.5 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.3027, allocations: 0.7943 MB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3027, allocations: 0 / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3028, allocations: 0 / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.3028, allocations: 0 / 1.214 GB, free: 3.066 MB / 0.9669 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.001161/0.3039, allocations: 0.8245 MB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.304, allocations: 8.625 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.479e-05/0.3041, allocations: 90.7 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3042, allocations: 64.19 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.3046, allocations: 355.7 kB / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.3047, allocations: 45.69 kB / 1.215 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.3047, allocations: 56.38 kB / 1.216 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/0.3055, allocations: 0.507 MB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3055, allocations: 7.938 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.3056, allocations: 24 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3056, allocations: 12 kB / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006251/0.3062, allocations: 360.6 kB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.3081, allocations: 1.438 MB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.3086, allocations: 282.8 kB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.309, allocations: 181.6 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3091, allocations: 11.92 kB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.3094, allocations: 202.9 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 3.377e-06/0.3095, allocations: 3.984 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.000768/0.3102, allocations: 387.2 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3103, allocations: 81.11 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.3107, allocations: 413.6 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3107, allocations: 33.7 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.3109, allocations: 267.8 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.311, allocations: 114.3 kB / 1.22 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.3111, allocations: 90.02 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3113, allocations: 350.7 kB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.3115, allocations: 132.8 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.3118, allocations: 215 kB / 1.22 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.3124, allocations: 333.8 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3124, allocations: 4 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007981/0.3132, allocations: 473.8 kB / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.3133, allocations: 43.09 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3133, allocations: 4 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3133, allocations: 4 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3136, allocations: 75.91 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.3137, allocations: 19.8 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.314, allocations: 75.5 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.3141, allocations: 27.98 kB / 1.221 GB, free: 11.2 MB / 0.9825 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.0001933/0.3143, allocations: 165.8 kB / 1.222 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.3143, allocations: 39.53 kB / 1.222 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006057/0.3149, allocations: 327.6 kB / 1.222 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.315, allocations: 7.938 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.315, allocations: 4 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.315, allocations: 7.984 kB / 1.222 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.3161, allocations: 0.9708 MB / 1.223 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3161, allocations: 0 / 1.223 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.3164, allocations: 55.91 kB / 1.223 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3164, allocations: 4 kB / 1.223 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3164, allocations: 8 kB / 1.223 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3164, allocations: 4 kB / 1.223 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3164, allocations: 7.938 kB / 1.223 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.317, allocations: 0.5131 MB / 1.223 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.3171, allocations: 128.6 kB / 1.224 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.3172, allocations: 8 kB / 1.224 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3174, allocations: 15.98 kB / 1.224 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.3175, allocations: 31.84 kB / 1.224 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3175, allocations: 8 kB / 1.224 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000276/0.3178, allocations: 291.2 kB / 1.224 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3178, allocations: 0 / 1.224 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004328/0.3182, allocations: 103.7 kB / 1.224 GB, free: 8.387 MB / 0.9825 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.0008746/0.3191, allocations: 1.072 MB / 1.225 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006547/0.3198, allocations: 383.3 kB / 1.225 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3198, allocations: 4.375 kB / 1.225 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.32, allocations: 139.8 kB / 1.226 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.3206, allocations: 65.78 kB / 1.226 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.3252, allocations: 3.758 MB / 1.229 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3256, allocations: 0.8237 MB / 1.23 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.3258, allocations: 43.27 kB / 1.23 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.326, allocations: 155.4 kB / 1.23 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.326, allocations: 3.938 kB / 1.23 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.3517, allocations: 7.357 MB / 1.238 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.572, allocations: 22.61 kB / 1.238 GB, free: 10.55 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches