Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_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.006452/0.006452, allocations: 97.3 kB / 15.73 MB, free: 6.043 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.001773/0.001774, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 482.4 MB / 0.7548 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3559, allocations: 162.2 MB / 1.242 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002826/0.3588, allocations: 0.6517 MB / 1.242 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.359, allocations: 7.938 kB / 1.242 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.359, allocations: 4 kB / 1.242 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3592, allocations: 3.938 kB / 1.242 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.3592, allocations: 7.922 kB / 1.242 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.544e-05/0.3593, allocations: 4 kB / 1.242 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3594, allocations: 23.97 kB / 1.242 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.3596, allocations: 35.98 kB / 1.242 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.3597, allocations: 19.88 kB / 1.242 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.3597, allocations: 15.92 kB / 1.242 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3598, allocations: 4 kB / 1.242 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.3598, allocations: 4 kB / 1.242 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.3599, allocations: 11.94 kB / 1.242 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.3599, allocations: 15.88 kB / 1.242 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3601, allocations: 55.73 kB / 1.242 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3601, allocations: 0 / 1.242 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3601, allocations: 0 / 1.242 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3601, allocations: 0 / 1.242 GB, free: 9.328 MB / 0.9981 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.0005327/0.3607, allocations: 351.3 kB / 1.243 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3607, allocations: 8.031 kB / 1.243 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.3608, allocations: 38.75 kB / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.3609, allocations: 8.891 kB / 1.243 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.3611, allocations: 180.2 kB / 1.243 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3612, allocations: 8.375 kB / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3612, allocations: 4.375 kB / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.3614, allocations: 74.22 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3615, allocations: 3.938 kB / 1.243 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3615, allocations: 7.938 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3615, allocations: 4 kB / 1.243 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.3617, allocations: 43.97 kB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000802/0.3625, allocations: 495.1 kB / 1.244 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3626, allocations: 165.1 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.3627, allocations: 80.14 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.3628, allocations: 79.22 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.3629, allocations: 117.8 kB / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.3629, allocations: 0 / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001095/0.363, allocations: 33.66 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3632, allocations: 130.6 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.3635, allocations: 171 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3635, allocations: 25.7 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3636, allocations: 92.14 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.3636, allocations: 0 / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.3637, allocations: 17.72 kB / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.3639, allocations: 322.8 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.364, allocations: 7.984 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.364, allocations: 7.938 kB / 1.245 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.3641, allocations: 20.78 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3641, allocations: 0 / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001924/0.3643, allocations: 53.64 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3643, allocations: 8.094 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3644, allocations: 3.984 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3644, allocations: 0 / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.3645, allocations: 7.938 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3645, allocations: 0 / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.3645, allocations: 7.984 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3646, allocations: 112 / 1.245 GB, free: 6.562 MB / 0.9981 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.0001899/0.3648, allocations: 201.5 kB / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3649, allocations: 116.9 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.365, allocations: 108.9 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001213/0.3651, allocations: 188.1 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001213/0.3653, allocations: 176.3 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/0.3654, allocations: 180.2 kB / 1.246 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.3659, allocations: 425.1 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.3e-05/0.366, allocations: 105 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.3661, allocations: 108.9 kB / 1.246 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.3662, allocations: 180.3 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.3664, allocations: 192.2 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001268/0.3665, allocations: 180.2 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001259/0.3666, allocations: 180.3 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3669, allocations: 308 kB / 1.247 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.3671, allocations: 198 kB / 1.248 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.3673, allocations: 184.3 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3675, allocations: 104.9 kB / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3676, allocations: 184.2 kB / 1.248 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/0.3677, allocations: 109 kB / 1.248 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001958/0.3679, allocations: 129.1 kB / 1.248 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3679, allocations: 0 / 1.248 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004171/0.3683, allocations: 4 kB / 1.248 GB, free: 2.852 MB / 0.9981 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.0007602/0.3691, allocations: 0.8126 MB / 1.249 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.724e-05/0.3692, allocations: 11.98 kB / 1.249 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3692, allocations: 0 / 1.249 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.3692, allocations: 0 / 1.249 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.37, allocations: 471.6 kB / 1.249 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4848/0.8548, allocations: 1.605 MB / 1.251 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.855, allocations: 0.6925 MB / 1.252 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.855, allocations: 8.344 kB / 1.252 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.8551, allocations: 16.27 kB / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.8551, allocations: 0 / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.877, allocations: 1.621 MB / 1.253 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/8.526, allocations: 7.109 kB / 1.253 GB, free: 13.79 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches