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.006359/0.006359, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001252/0.001252, allocations: 195.6 kB / 16.67 MB, free: 5.93 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.539/2.539, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002373, allocations: 67.91 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9423/0.9447, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001884/0.9467, allocations: 0.6558 MB / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.9469, allocations: 19.92 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.9469, allocations: 3.938 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.999e-05/0.947, allocations: 0 / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.9471, allocations: 7.922 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.791e-05/0.9472, allocations: 4 kB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.9472, allocations: 23.98 kB / 1.167 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.9474, allocations: 35.98 kB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.74e-05/0.9474, allocations: 11.94 kB / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.389e-05/0.9475, allocations: 15.92 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.9475, allocations: 4 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.9475, allocations: 0 / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.9476, allocations: 19.92 kB / 1.167 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.9476, allocations: 15.88 kB / 1.167 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.9477, allocations: 51.75 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9477, allocations: 0 / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.173e-06/0.9477, allocations: 0 / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9477, allocations: 0 / 1.167 GB, free: 2.883 MB / 0.8887 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.0003574/0.9481, allocations: 349.7 kB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.9481, allocations: 8.625 kB / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.9482, allocations: 38.75 kB / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.9482, allocations: 4.844 kB / 1.167 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.9484, allocations: 188.2 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.9484, allocations: 8.375 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.9484, allocations: 4.375 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.9486, allocations: 78.16 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9486, allocations: 3.938 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.9486, allocations: 0 / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.9487, allocations: 7.984 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.9487, allocations: 51.91 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.9492, allocations: 491 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/0.9493, allocations: 165.1 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.9494, allocations: 84.14 kB / 1.168 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.9494, allocations: 75.28 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.9495, allocations: 113.8 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/0.9495, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.425e-05/0.9496, allocations: 37.61 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.9496, allocations: 134.6 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.9498, allocations: 172.3 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.9498, allocations: 29.7 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.9499, allocations: 88.14 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.9499, allocations: 0 / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.95, allocations: 17.72 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9501, allocations: 322.8 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.9501, allocations: 7.984 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.9501, allocations: 4 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.9502, allocations: 20.78 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.9502, allocations: 0 / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.9503, allocations: 53.59 kB / 1.169 GB, free: 144 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.9503, allocations: 4 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.9503, allocations: 4.094 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.9503, allocations: 0 / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.9504, allocations: 7.938 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.9504, allocations: 0 / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.9505, allocations: 7.984 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.9505, allocations: 4 kB / 1.17 GB, free: 116 kB / 0.8887 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.0001198/0.9506, allocations: 189.1 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.9507, allocations: 123.3 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.9507, allocations: 113 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.676e-05/0.9508, allocations: 184.1 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-05/0.9509, allocations: 184.2 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.776e-05/0.951, allocations: 180.2 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.9512, allocations: 421.1 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.708e-05/0.9512, allocations: 109 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.9513, allocations: 108.9 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.048e-05/0.9513, allocations: 176.3 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.9514, allocations: 184.2 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.405e-05/0.9515, allocations: 184.1 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.848e-05/0.9515, allocations: 176.3 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.9517, allocations: 315.7 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.9518, allocations: 186 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-05/0.9519, allocations: 188.2 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.952, allocations: 108.9 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.952, allocations: 184.2 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.9521, allocations: 109 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.902e-05/0.9522, allocations: 127.2 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9522, allocations: 0 / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002181/0.9524, allocations: 4 kB / 1.173 GB, free: 12.41 MB / 0.9044 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.0004447/0.9529, allocations: 0.8168 MB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.9529, allocations: 11.98 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9529, allocations: 0 / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.953, allocations: 0 / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.9534, allocations: 463.7 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.9549, allocations: 1.624 MB / 1.176 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.9552, allocations: 0.6924 MB / 1.176 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.9552, allocations: 7.906 kB / 1.176 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.9553, allocations: 19.42 kB / 1.176 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.9553, allocations: 0 / 1.176 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.9761, allocations: 1.628 MB / 1.178 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/8.467, allocations: 10.78 kB / 1.178 GB, free: 7.102 MB / 0.9044 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=50 --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