Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001233/0.001233, allocations: 195.4 kB / 16.14 MB, free: 6.719 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5835/0.5848, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003358/0.5882, allocations: 2.237 MB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.5904, allocations: 1.514 MB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.5908, allocations: 8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.591, allocations: 35.58 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.5913, allocations: 67.47 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.5919, allocations: 272.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.5925, allocations: 0.5785 MB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.593, allocations: 353.7 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.5932, allocations: 195.2 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.5935, allocations: 234.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.993e-05/0.5935, allocations: 32 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.5937, allocations: 47.98 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.5937, allocations: 103.6 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.594, allocations: 258.5 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.5945, allocations: 0.7302 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5945, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5945, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.5946, allocations: 0 / 1.023 GB, free: 12.13 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001154/0.5957, allocations: 0.8207 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.5958, allocations: 8.031 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.835e-05/0.5959, allocations: 98.7 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.596, allocations: 56.28 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.5963, allocations: 363.6 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.5964, allocations: 41.69 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.5964, allocations: 56.38 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.5972, allocations: 0.5108 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5972, allocations: 7.938 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.5973, allocations: 24 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.5973, allocations: 12 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.598, allocations: 364.6 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.5998, allocations: 1.453 MB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.6004, allocations: 281.3 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.6007, allocations: 181.6 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.6008, allocations: 4 kB / 1.027 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/0.6012, allocations: 210.8 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.6012, allocations: 3.938 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0007746/0.602, allocations: 397 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.602, allocations: 85.11 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.6024, allocations: 409.6 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.6024, allocations: 37.7 kB / 1.028 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.6026, allocations: 267.9 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.6027, allocations: 106.5 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.6028, allocations: 86.03 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6029, allocations: 354.7 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.6032, allocations: 132.8 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.6035, allocations: 207.2 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.6041, allocations: 345.6 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6041, allocations: 0 / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007949/0.6049, allocations: 472.1 kB / 1.03 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.6049, allocations: 41.69 kB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6049, allocations: 4 kB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.605, allocations: 4 kB / 1.03 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.6053, allocations: 71.91 kB / 1.03 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.6053, allocations: 7.938 kB / 1.03 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.6056, allocations: 79.33 kB / 1.031 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.6057, allocations: 23.98 kB / 1.031 GB, free: 4.262 MB / 0.7794 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.0001624/0.6058, allocations: 177.7 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.6059, allocations: 39.44 kB / 1.031 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005816/0.6065, allocations: 326.8 kB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6065, allocations: 7.938 kB / 1.031 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6065, allocations: 4 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.6065, allocations: 7.984 kB / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.6076, allocations: 0.967 MB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6076, allocations: 3.984 kB / 1.032 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.6078, allocations: 59.91 kB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.6078, allocations: 0 / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.6079, allocations: 8 kB / 1.032 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6079, allocations: 8 kB / 1.032 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6079, allocations: 7.984 kB / 1.032 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.6084, allocations: 0.5084 MB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.6085, allocations: 132.5 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.6086, allocations: 15.94 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.6088, allocations: 11.98 kB / 1.033 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.6089, allocations: 31.84 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.6089, allocations: 8 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002657/0.6092, allocations: 287.2 kB / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6092, allocations: 0 / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004121/0.6096, allocations: 111.7 kB / 1.033 GB, free: 1.422 MB / 0.7794 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.0008212/0.6104, allocations: 1.064 MB / 1.034 GB, free: 320 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.611, allocations: 375.3 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6111, allocations: 384 / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.6113, allocations: 140.8 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.6119, allocations: 73.39 kB / 1.035 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.6165, allocations: 3.976 MB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.6168, allocations: 0.8237 MB / 1.039 GB, free: 10.74 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.617, allocations: 43.27 kB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.6171, allocations: 159.4 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of SimCode: time 1.402e-06/0.6172, allocations: 0 / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.6553, allocations: 6.779 MB / 1.046 GB, free: 3.965 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.6555, allocations: 233.4 kB / 1.047 GB, free: 3.715 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.374, allocations: 4.812 kB / 1.047 GB, free: 3.715 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches