Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002376/0.002376, allocations: 213.1 kB / 22.24 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.271/3.271, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 72.66 kB / 1.153 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 176.1 MB / 1.325 GB, free: 2.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00204/0.3622, allocations: 0.6585 MB / 1.326 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000172/0.3624, allocations: 11.92 kB / 1.326 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.3624, allocations: 0 / 1.326 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.536e-05/0.3625, allocations: 7.938 kB / 1.326 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.505e-05/0.3626, allocations: 0 / 1.326 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.839e-05/0.3626, allocations: 7.984 kB / 1.326 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.3627, allocations: 27.86 kB / 1.326 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3629, allocations: 19.98 kB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.988e-05/0.3629, allocations: 15.94 kB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.3629, allocations: 19.92 kB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3629, allocations: 0 / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.363, allocations: 4 kB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.363, allocations: 11.94 kB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.363, allocations: 15.92 kB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3631, allocations: 48.03 kB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3631, allocations: 0 / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3631, allocations: 3.938 kB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3632, allocations: 0 / 1.326 GB, free: 1.453 MB / 1.014 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.0003896/0.3635, allocations: 278.2 kB / 1.326 GB, free: 1.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3636, allocations: 8.031 kB / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.3636, allocations: 42.75 kB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.3637, allocations: 8.891 kB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.3638, allocations: 122.5 kB / 1.326 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3639, allocations: 4.312 kB / 1.326 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3639, allocations: 8.375 kB / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.364, allocations: 78.22 kB / 1.326 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.364, allocations: 3.938 kB / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.3641, allocations: 0 / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3641, allocations: 0 / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.3641, allocations: 47.97 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.3647, allocations: 454.6 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3648, allocations: 177.1 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.3648, allocations: 88.14 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.3649, allocations: 79.27 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.162e-05/0.365, allocations: 105.8 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.365, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.655e-05/0.365, allocations: 37.64 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.3651, allocations: 130.6 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.3653, allocations: 171.2 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3653, allocations: 25.7 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3654, allocations: 96.09 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.3654, allocations: 7.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3654, allocations: 17.7 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3656, allocations: 315 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.3656, allocations: 11.92 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.3656, allocations: 12 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.3657, allocations: 12.84 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3657, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001337/0.3658, allocations: 53.64 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3658, allocations: 4 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3658, allocations: 4.094 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3658, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.3659, allocations: 11.92 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3659, allocations: 3.938 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.366, allocations: 7.938 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.366, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 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.0001322/0.3661, allocations: 197.6 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/0.3662, allocations: 108.9 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.3663, allocations: 116.7 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-05/0.3663, allocations: 184.1 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.159e-05/0.3664, allocations: 188.2 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.151e-05/0.3665, allocations: 184.2 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.3668, allocations: 384.3 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-05/0.3669, allocations: 101 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.3669, allocations: 112.9 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.262e-05/0.367, allocations: 176.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/0.3671, allocations: 180.2 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.74e-05/0.3672, allocations: 184.2 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.708e-05/0.3672, allocations: 184.2 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.3674, allocations: 311.8 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.3675, allocations: 112.9 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.3676, allocations: 180.3 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3677, allocations: 117.1 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.3678, allocations: 176.3 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.3679, allocations: 105 kB / 1.331 GB, free: 11.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000128/0.368, allocations: 136.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.368, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002355/0.3682, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 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.0005573/0.3688, allocations: 0.8126 MB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.3689, allocations: 12 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3689, allocations: 3.938 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.3689, allocations: 0 / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.3694, allocations: 474.3 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.3709, allocations: 1.594 MB / 1.334 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.528e-05/0.371, allocations: 75.33 kB / 1.334 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.3711, allocations: 7.984 kB / 1.334 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.3711, allocations: 15.44 kB / 1.334 GB, free: 8.191 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3711, allocations: 0 / 1.334 GB, free: 8.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.4008, allocations: 2.158 MB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 7.172 kB / 1.337 GB, free: 6.156 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable con[1].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[1].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[2].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[2].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[3].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[3].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[4].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[4].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[5].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[5].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.907765803392977]