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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 111.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 245.1 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 489 MB / 0.7678 GB, free: 4.207 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.91 kB / 1.101 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9703, allocations: 163.8 MB / 1.261 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001811/0.9721, allocations: 0.6573 MB / 1.262 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001478/0.9723, allocations: 15.8 kB / 1.262 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.9723, allocations: 0 / 1.262 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.9724, allocations: 6.266 kB / 1.262 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.9725, allocations: 9 kB / 1.262 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.257e-05/0.9726, allocations: 1.969 kB / 1.262 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.161e-05/0.9727, allocations: 24.94 kB / 1.262 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.9728, allocations: 29.47 kB / 1.262 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.9728, allocations: 20.44 kB / 1.262 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.315e-05/0.9729, allocations: 14.22 kB / 1.262 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.9729, allocations: 2.844 kB / 1.262 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.9729, allocations: 3.188 kB / 1.262 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.973, allocations: 13.55 kB / 1.262 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.973, allocations: 25.3 kB / 1.262 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.9731, allocations: 54.7 kB / 1.262 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9731, allocations: 0 / 1.262 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9732, allocations: 0.75 kB / 1.262 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.9732, allocations: 0 / 1.262 GB, free: 7.555 MB / 0.9981 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.0003189/0.9735, allocations: 350.9 kB / 1.262 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.9735, allocations: 9.531 kB / 1.262 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.9736, allocations: 38.3 kB / 1.262 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.9736, allocations: 7.578 kB / 1.262 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.9737, allocations: 179.3 kB / 1.263 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.9738, allocations: 6.219 kB / 1.263 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.9738, allocations: 8.344 kB / 1.263 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.974, allocations: 77.88 kB / 1.263 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.974, allocations: 4.688 kB / 1.263 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.974, allocations: 1.297 kB / 1.263 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.974, allocations: 0.8125 kB / 1.263 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.9741, allocations: 53.33 kB / 1.263 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.9745, allocations: 487.1 kB / 1.263 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.9746, allocations: 174.7 kB / 1.263 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.9746, allocations: 84.88 kB / 1.263 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.9746, allocations: 75.94 kB / 1.263 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.9747, allocations: 111.2 kB / 1.264 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.9747, allocations: 0.6875 kB / 1.264 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.738e-05/0.9747, allocations: 36.41 kB / 1.264 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.9748, allocations: 132.2 kB / 1.264 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.975, allocations: 171.2 kB / 1.264 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.975, allocations: 25.7 kB / 1.264 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.975, allocations: 94.17 kB / 1.264 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-06/0.975, allocations: 0.6094 kB / 1.264 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.9751, allocations: 13.19 kB / 1.264 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.9751, allocations: 327.6 kB / 1.264 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.9751, allocations: 5.5 kB / 1.264 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.9752, allocations: 11.42 kB / 1.264 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.9752, allocations: 16.28 kB / 1.264 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9752, allocations: 0 / 1.264 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001153/0.9753, allocations: 53.16 kB / 1.264 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.9754, allocations: 5.594 kB / 1.264 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9754, allocations: 0 / 1.264 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.9754, allocations: 0.7188 kB / 1.264 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.9754, allocations: 12.41 kB / 1.264 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.9755, allocations: 0 / 1.264 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.9755, allocations: 4.594 kB / 1.264 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.9755, allocations: 1.688 kB / 1.264 GB, free: 5.129 MB / 0.9981 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 7.721e-05/0.9756, allocations: 194.6 kB / 1.265 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.9756, allocations: 116.7 kB / 1.265 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.9757, allocations: 113.7 kB / 1.265 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/0.9757, allocations: 191.1 kB / 1.265 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.243e-05/0.9758, allocations: 181.6 kB / 1.265 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/0.9758, allocations: 177.8 kB / 1.265 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.976, allocations: 422.6 kB / 1.266 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.976, allocations: 102.5 kB / 1.266 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.976, allocations: 114.4 kB / 1.266 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/0.9761, allocations: 178.3 kB / 1.266 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/0.9763, allocations: 181.9 kB / 1.266 GB, free: 19.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.793e-05/0.9764, allocations: 186.7 kB / 1.266 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.995e-05/0.9765, allocations: 178 kB / 1.267 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.9767, allocations: 315.7 kB / 1.267 GB, free: 18.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.9768, allocations: 187.4 kB / 1.267 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9769, allocations: 182.8 kB / 1.267 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.977, allocations: 110.5 kB / 1.267 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.9771, allocations: 181.8 kB / 1.268 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.9772, allocations: 107.6 kB / 1.268 GB, free: 17.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001263/0.9773, allocations: 132.9 kB / 1.268 GB, free: 17.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9773, allocations: 0.7188 kB / 1.268 GB, free: 17.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002533/0.9776, allocations: 5.406 kB / 1.268 GB, free: 17.54 MB / 1.014 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.0005537/0.9781, allocations: 0.8118 MB / 1.269 GB, free: 16.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.9782, allocations: 12.53 kB / 1.269 GB, free: 16.72 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9782, allocations: 0 / 1.269 GB, free: 16.72 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.9782, allocations: 0.8438 kB / 1.269 GB, free: 16.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.9788, allocations: 471.3 kB / 1.269 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.9805, allocations: 1.604 MB / 1.271 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.9809, allocations: 0.6893 MB / 1.271 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.9809, allocations: 6.5 kB / 1.271 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.981, allocations: 19.69 kB / 1.271 GB, free: 14.15 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/0.981, allocations: 0 / 1.271 GB, free: 14.15 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/1.003, allocations: 1.621 MB / 1.273 GB, free: 13.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/9.283, allocations: 12.06 kB / 1.273 GB, free: 13.76 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.551386832026765]