Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001795/0.001795, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002323/0.002323, allocations: 219.2 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.34/3.34, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 69.2 kB / 1.177 GB, free: 17.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3957, allocations: 180.2 MB / 1.353 GB, free: 8.531 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002186/0.3979, allocations: 0.6576 MB / 1.354 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001765/0.3981, allocations: 19.91 kB / 1.354 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.3982, allocations: 0 / 1.354 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.3983, allocations: 0 / 1.354 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.3983, allocations: 7.938 kB / 1.354 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.579e-05/0.3984, allocations: 0 / 1.354 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.3985, allocations: 23.98 kB / 1.354 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.3986, allocations: 23.98 kB / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.3987, allocations: 19.92 kB / 1.354 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.3987, allocations: 11.94 kB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3987, allocations: 7.984 kB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.3987, allocations: 0 / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.3988, allocations: 15.92 kB / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.3988, allocations: 15.88 kB / 1.354 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.399, allocations: 55.97 kB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.399, allocations: 4 kB / 1.354 GB, free: 7.676 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.142e-06/0.399, allocations: 0 / 1.354 GB, free: 7.676 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.399, allocations: 0 / 1.354 GB, free: 7.676 MB / 1.045 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.0004085/0.3994, allocations: 274.2 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3995, allocations: 8.031 kB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.3995, allocations: 42.73 kB / 1.354 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.3996, allocations: 4.891 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.3998, allocations: 118.5 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3998, allocations: 4.375 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3998, allocations: 12.36 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.4, allocations: 82.05 kB / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4, allocations: 3.938 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4, allocations: 8 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4, allocations: 0 / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.4001, allocations: 43.97 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.4007, allocations: 466.6 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.4008, allocations: 173.2 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.4009, allocations: 80.14 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.4009, allocations: 75.28 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.495e-05/0.401, allocations: 113.8 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.401, allocations: 0 / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.588e-05/0.4011, allocations: 29.7 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.4012, allocations: 134.6 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.4014, allocations: 169.8 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4015, allocations: 29.69 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.4015, allocations: 96.09 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-06/0.4015, allocations: 0 / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.4016, allocations: 13.72 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4017, allocations: 318.8 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.4017, allocations: 8 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.4018, allocations: 11.98 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.4018, allocations: 20.8 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4018, allocations: 0 / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001361/0.4019, allocations: 53.62 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.402, allocations: 8 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.402, allocations: 0 / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.402, allocations: 112 / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.4021, allocations: 11.88 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4021, allocations: 4.094 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.4021, allocations: 7.938 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4021, allocations: 0 / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001288/0.4022, allocations: 201 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.4023, allocations: 108.9 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.4024, allocations: 112.8 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-05/0.4025, allocations: 192.1 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.291e-05/0.4026, allocations: 180.3 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.64e-05/0.4027, allocations: 180.2 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.403, allocations: 396.2 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/0.403, allocations: 101 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.4031, allocations: 108.9 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-05/0.4031, allocations: 180.3 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.156e-05/0.4032, allocations: 176.3 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.872e-05/0.4033, allocations: 188.1 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.407e-05/0.4034, allocations: 184.2 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.4036, allocations: 316.3 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.4037, allocations: 116.9 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.4038, allocations: 184.2 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4039, allocations: 105.2 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.404, allocations: 180.2 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.404, allocations: 101 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001181/0.4041, allocations: 141.1 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4041, allocations: 0 / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002346/0.4044, allocations: 4 kB / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005347/0.4049, allocations: 0.8088 MB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.405, allocations: 11.98 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.405, allocations: 0 / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.405, allocations: 0 / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.4055, allocations: 463.6 kB / 1.361 GB, free: 216 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.4074, allocations: 1.602 MB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.4078, allocations: 0.6963 MB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.4078, allocations: 8 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.4079, allocations: 11.44 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.4079, allocations: 0 / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.4414, allocations: 1.736 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.72, allocations: 8.391 kB / 1.365 GB, free: 12.18 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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: 18.778491649078205]