Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001347/0.001347, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001445/0.001445, allocations: 191 kB / 16.25 MB, free: 6.637 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.326/2.326, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 76.08 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7269, allocations: 140.4 MB / 0.9492 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002351/0.7293, allocations: 0.7113 MB / 0.9499 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.7295, allocations: 14.67 kB / 0.95 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.7296, allocations: 1.375 kB / 0.95 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.7297, allocations: 0 / 0.95 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.7298, allocations: 4 kB / 0.95 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.635e-05/0.7299, allocations: 2.75 kB / 0.95 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.974e-05/0.73, allocations: 38.84 kB / 0.95 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.7302, allocations: 28.48 kB / 0.95 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.7302, allocations: 14.81 kB / 0.95 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.7302, allocations: 14.67 kB / 0.9501 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.7303, allocations: 4.125 kB / 0.9501 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.7303, allocations: 2.75 kB / 0.9501 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.7303, allocations: 10.69 kB / 0.9501 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.7304, allocations: 25.36 kB / 0.9501 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.7305, allocations: 44.19 kB / 0.9501 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7305, allocations: 1.375 kB / 0.9501 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7305, allocations: 0 / 0.9501 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.7305, allocations: 0 / 0.9501 GB, free: 8.695 MB / 0.7169 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.0003615/0.7309, allocations: 352.7 kB / 0.9505 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.731, allocations: 9.625 kB / 0.9505 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.731, allocations: 36.12 kB / 0.9505 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.731, allocations: 7.594 kB / 0.9505 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.7312, allocations: 188.4 kB / 0.9507 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.7312, allocations: 1.75 kB / 0.9507 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.7312, allocations: 4.5 kB / 0.9507 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.7314, allocations: 78.97 kB / 0.9508 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.7315, allocations: 9.312 kB / 0.9508 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.7315, allocations: 3.984 kB / 0.9508 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.7315, allocations: 1.375 kB / 0.9508 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.7316, allocations: 48.84 kB / 0.9509 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.7321, allocations: 484.5 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.7322, allocations: 173.1 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.7322, allocations: 85.52 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.7322, allocations: 75.28 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.7323, allocations: 107.2 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.492e-06/0.7323, allocations: 0 / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.518e-05/0.7323, allocations: 32.36 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.7324, allocations: 136 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.7326, allocations: 171.5 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.7326, allocations: 25.7 kB / 0.9521 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.7326, allocations: 99.75 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.7326, allocations: 5.344 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.7327, allocations: 15.33 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.7327, allocations: 317.6 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.7328, allocations: 7.891 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.7328, allocations: 9.188 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.626e-05/0.7328, allocations: 18.44 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.7328, allocations: 0 / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001133/0.733, allocations: 48.12 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.733, allocations: 6.25 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.733, allocations: 0 / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.733, allocations: 1.469 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.7331, allocations: 10.81 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7331, allocations: 3.984 kB / 0.9526 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.7331, allocations: 16.47 kB / 0.9526 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.7331, allocations: 5.344 kB / 0.9526 GB, free: 6.16 MB / 0.7169 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 8.358e-05/0.7332, allocations: 194.4 kB / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.7333, allocations: 104.8 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.7333, allocations: 115.5 kB / 0.953 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-05/0.7334, allocations: 185.3 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/0.7334, allocations: 181.7 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/0.7334, allocations: 188.2 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.7336, allocations: 422.3 kB / 0.9539 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.7336, allocations: 102.4 kB / 0.954 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.7337, allocations: 106.4 kB / 0.9541 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.948e-05/0.7337, allocations: 177.7 kB / 0.9543 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.7337, allocations: 189.6 kB / 0.9545 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.19e-05/0.7338, allocations: 185.7 kB / 0.9547 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.077e-05/0.7338, allocations: 180.2 kB / 0.9548 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.945e-05/0.7339, allocations: 305.2 kB / 0.9551 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.734, allocations: 198 kB / 0.9553 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.734, allocations: 177.3 kB / 0.9555 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.7341, allocations: 111.2 kB / 0.9556 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.7341, allocations: 180.2 kB / 0.9558 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.7342, allocations: 102.3 kB / 0.9559 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.899e-05/0.7343, allocations: 133 kB / 0.956 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.282e-06/0.7343, allocations: 0 / 0.956 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002315/0.7345, allocations: 12.78 kB / 0.956 GB, free: 2.539 MB / 0.7169 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.0003323/0.7348, allocations: 0.8165 MB / 0.9568 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.632e-05/0.7349, allocations: 17.08 kB / 0.9568 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7349, allocations: 64 / 0.9568 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.7349, allocations: 5.312 kB / 0.9568 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.7353, allocations: 462.2 kB / 0.9573 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.7365, allocations: 1.597 MB / 0.9588 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.7368, allocations: 0.7049 MB / 0.9595 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.7369, allocations: 4.844 kB / 0.9595 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.7369, allocations: 14.09 kB / 0.9595 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7369, allocations: 7.875 kB / 0.9595 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.7501, allocations: 1.515 MB / 0.961 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.7504, allocations: 216.3 kB / 0.9612 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.574, allocations: 1.188 kB / 0.9612 GB, free: 14.04 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches