Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",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.004393/0.004393, allocations: 101.2 kB / 15.73 MB, free: 5.508 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.001104/0.001104, allocations: 197.3 kB / 16.68 MB, free: 5.438 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437.1 MB / 0.7106 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 71.88 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00138/0.249, allocations: 0.6502 MB / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 7.003e-05/0.2491, allocations: 7.938 kB / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.2491, allocations: 4 kB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.2492, allocations: 3.984 kB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.2492, allocations: 3.938 kB / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.122e-05/0.2493, allocations: 8 kB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.047e-05/0.2493, allocations: 27.86 kB / 1.167 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.2494, allocations: 35.97 kB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.2494, allocations: 15.94 kB / 1.167 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.092e-05/0.2495, allocations: 15.92 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2495, allocations: 4 kB / 1.167 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.2495, allocations: 4 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.2495, allocations: 11.94 kB / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.2495, allocations: 19.86 kB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.031e-05/0.2496, allocations: 52.03 kB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.2496, allocations: 0 / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2496, allocations: 3.984 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.184e-06/0.2496, allocations: 0 / 1.167 GB, free: 6.438 MB / 0.92 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.0002829/0.2499, allocations: 355.2 kB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.25, allocations: 8.031 kB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.25, allocations: 38.75 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.25, allocations: 12.88 kB / 1.167 GB, free: 5.973 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2502, allocations: 168.4 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2502, allocations: 8.375 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.2502, allocations: 4.312 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2503, allocations: 78.22 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2503, allocations: 3.938 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2504, allocations: 8 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2504, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.2504, allocations: 47.97 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.2509, allocations: 495.1 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.251, allocations: 165.5 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.251, allocations: 80.14 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.251, allocations: 75.28 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.2511, allocations: 117.9 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2511, allocations: 3.938 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.408e-05/0.2512, allocations: 41.64 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.2512, allocations: 134.6 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.2514, allocations: 167.7 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2514, allocations: 25.7 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.2515, allocations: 92.14 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2515, allocations: 4 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.2515, allocations: 17.7 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2516, allocations: 318.8 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.2517, allocations: 7.984 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.2517, allocations: 4 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.2517, allocations: 20.78 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.2517, allocations: 0 / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.916e-05/0.2518, allocations: 61.64 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.2518, allocations: 4 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.2518, allocations: 0 / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.2519, allocations: 0 / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.952e-05/0.2519, allocations: 11.92 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.2519, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.2519, allocations: 4 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2519, allocations: 0 / 1.17 GB, free: 3.668 MB / 0.92 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.0001021/0.252, allocations: 197.1 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.2521, allocations: 116.9 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.2522, allocations: 104.9 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.405e-05/0.2522, allocations: 188.1 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.747e-05/0.2523, allocations: 184.2 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-05/0.2524, allocations: 176.3 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2526, allocations: 425.1 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/0.2527, allocations: 105 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.2527, allocations: 104.9 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.597e-05/0.2528, allocations: 180.2 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/0.2528, allocations: 176.3 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.907e-05/0.2529, allocations: 188.1 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.314e-05/0.253, allocations: 180.3 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.2531, allocations: 315.7 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.2532, allocations: 190 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.2533, allocations: 192.1 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.2534, allocations: 113.2 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.2535, allocations: 184.2 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.2535, allocations: 101 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001062/0.2536, allocations: 137.6 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2536, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001963/0.2538, allocations: 4 kB / 1.173 GB, free: 15.96 MB / 0.9356 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.0003936/0.2542, allocations: 0.8127 MB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.482e-05/0.2543, allocations: 11.98 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2543, allocations: 0 / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.2543, allocations: 0 / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.2547, allocations: 475.6 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2559, allocations: 1.592 MB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.2562, allocations: 0.6964 MB / 1.176 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.2562, allocations: 11.88 kB / 1.176 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.2563, allocations: 15.42 kB / 1.176 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2563, allocations: 0 / 1.176 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.36/4.617, allocations: 1.636 MB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.061/13.68, allocations: 9.047 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches