Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.00159/0.00159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 469.4 MB / 0.742 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.33 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2612, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001922/0.2631, allocations: 0.7018 MB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.264, allocations: 0.8079 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.2641, allocations: 4 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.2641, allocations: 3.938 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.2642, allocations: 3.938 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.918e-05/0.2643, allocations: 7.984 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.2644, allocations: 55.78 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.2645, allocations: 8 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.2646, allocations: 11.98 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.2646, allocations: 31.84 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.2647, allocations: 4 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2647, allocations: 4 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.2647, allocations: 7.984 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.2647, allocations: 19.92 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.965e-05/0.2648, allocations: 39.81 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2648, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2648, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2648, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005012/0.2653, allocations: 365.7 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2654, allocations: 8.031 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.2654, allocations: 34.75 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.2655, allocations: 8.844 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2656, allocations: 180.2 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.2656, allocations: 384 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2656, allocations: 4.359 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.2659, allocations: 74.22 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2659, allocations: 7.938 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.2659, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2659, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.2662, allocations: 63.92 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.2666, allocations: 272.8 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.2668, allocations: 62.47 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.267, allocations: 40.86 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.267, allocations: 0 / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.267, allocations: 34.56 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.267, allocations: 0 / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005468/0.2676, allocations: 129.5 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.2676, allocations: 51.41 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.2677, allocations: 113.8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2678, allocations: 29.7 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.2678, allocations: 84.14 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.2678, allocations: 19.8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.2679, allocations: 9.719 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.268, allocations: 318.8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2681, allocations: 27.95 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2683, allocations: 35.97 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.2686, allocations: 68.72 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2686, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003309/0.2689, allocations: 109.5 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2689, allocations: 8 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2689, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.269, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2691, allocations: 15.97 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2691, allocations: 0 / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.2692, allocations: 11.98 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.2692, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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 7.038e-05/0.2693, allocations: 119.5 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.2693, allocations: 7.906 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.2697, allocations: 105.5 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2697, allocations: 384 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2697, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2697, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2699, allocations: 181.5 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2699, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.27, allocations: 11.98 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.27, allocations: 3.984 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.27, allocations: 4 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.27, allocations: 0 / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.27, allocations: 4 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.2704, allocations: 199.4 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.2704, allocations: 81.02 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.2705, allocations: 4 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2706, allocations: 7.984 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.2706, allocations: 11.98 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.2706, allocations: 3.938 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.2707, allocations: 95.22 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2707, allocations: 0 / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002371/0.2709, allocations: 4 kB / 1.068 GB, free: 9.492 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.0006608/0.2716, allocations: 0.7285 MB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.272, allocations: 71.86 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.272, allocations: 0 / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2721, allocations: 35.95 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.2724, allocations: 8 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.2729, allocations: 159.1 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.2731, allocations: 0.6807 MB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.2731, allocations: 0 / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.2732, allocations: 19.44 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2732, allocations: 0 / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.289, allocations: 1.61 MB / 1.071 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.701, allocations: 9.422 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches