Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.008341/0.008341, allocations: 101.5 kB / 15.73 MB, free: 6.004 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.001607/0.001607, allocations: 194.9 kB / 16.67 MB, free: 5.934 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7659, allocations: 140.4 MB / 1.088 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001521/0.7675, allocations: 0.6531 MB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001371/0.7676, allocations: 15.81 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.7677, allocations: 1.125 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.78e-05/0.7678, allocations: 4.734 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.855e-05/0.7678, allocations: 1.812 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.982e-05/0.7679, allocations: 7.328 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.768, allocations: 44.39 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.7681, allocations: 30.06 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.7681, allocations: 7.453 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.629e-05/0.7682, allocations: 18.55 kB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.7682, allocations: 6.859 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.7682, allocations: 2.75 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.7683, allocations: 12.42 kB / 1.088 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.7683, allocations: 22.53 kB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.7684, allocations: 48.2 kB / 1.088 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7684, allocations: 0.6094 kB / 1.088 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7684, allocations: 3.938 kB / 1.088 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7684, allocations: 1.094 kB / 1.088 GB, free: 4.762 MB / 0.8575 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.000229/0.7686, allocations: 342.9 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.7687, allocations: 9.766 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.7687, allocations: 33.8 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.7687, allocations: 14.94 kB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7688, allocations: 187.8 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.7689, allocations: 3.125 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.7689, allocations: 7.438 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.769, allocations: 78.75 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.769, allocations: 3.938 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.769, allocations: 1.375 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.769, allocations: 5.344 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.7691, allocations: 48.94 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.7695, allocations: 490.6 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.7695, allocations: 166.2 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.7695, allocations: 81.86 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.7696, allocations: 75.28 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.7696, allocations: 111.8 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7696, allocations: 0 / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.748e-05/0.7696, allocations: 33.03 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.7697, allocations: 136.3 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.7698, allocations: 179.3 kB / 1.09 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-06/0.7698, allocations: 30.55 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.7699, allocations: 92.97 kB / 1.09 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.7699, allocations: 0 / 1.09 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.7699, allocations: 21.62 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.77, allocations: 316.5 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.77, allocations: 9.219 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.77, allocations: 6.312 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.77, allocations: 16.97 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.77, allocations: 0 / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.7701, allocations: 57.7 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7702, allocations: 5.031 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7702, allocations: 5.062 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.7702, allocations: 0.6562 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.7702, allocations: 7.922 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.7703, allocations: 0 / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.7703, allocations: 5.172 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.7703, allocations: 1.281 kB / 1.091 GB, free: 2.332 MB / 0.8575 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 5.66e-05/0.7704, allocations: 189.7 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.7704, allocations: 117.2 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.7704, allocations: 118.9 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.7705, allocations: 181.1 kB / 1.091 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.588e-05/0.7706, allocations: 185.8 kB / 1.092 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.841e-05/0.7707, allocations: 182 kB / 1.092 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.7709, allocations: 419.2 kB / 1.092 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/0.7709, allocations: 110.4 kB / 1.092 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.7709, allocations: 102.6 kB / 1.092 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.224e-05/0.771, allocations: 185.6 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.7711, allocations: 177.9 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.582e-05/0.7711, allocations: 182.5 kB / 1.093 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-05/0.7712, allocations: 183.1 kB / 1.093 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.7713, allocations: 314.1 kB / 1.093 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.7713, allocations: 184 kB / 1.094 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.7714, allocations: 182 kB / 1.094 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.7715, allocations: 110.5 kB / 1.094 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.7715, allocations: 186.6 kB / 1.094 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.7716, allocations: 106.7 kB / 1.094 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.19e-05/0.7717, allocations: 130.8 kB / 1.094 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7717, allocations: 1.219 kB / 1.094 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002133/0.7719, allocations: 4.688 kB / 1.094 GB, free: 14.74 MB / 0.8731 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.0003566/0.7723, allocations: 0.8178 MB / 1.095 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.894e-05/0.7723, allocations: 16.41 kB / 1.095 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.7723, allocations: 1.094 kB / 1.095 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.7723, allocations: 0 / 1.095 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.7727, allocations: 468.4 kB / 1.096 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.7739, allocations: 1.602 MB / 1.097 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.7741, allocations: 0.6938 MB / 1.098 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.7741, allocations: 6.453 kB / 1.098 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.7742, allocations: 15.19 kB / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.7742, allocations: 0 / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4458/1.22, allocations: 1.642 MB / 1.099 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/9.908, allocations: 15.64 kB / 1.099 GB, free: 10.96 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches