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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.000709/0.000709, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.003955/0.003955, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.456/2.456, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 21 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2608, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.0007356/0.2616, allocations: 440.4 kB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.2623, allocations: 0.8079 MB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.2624, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.2624, allocations: 3.938 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.896e-05/0.2625, allocations: 3.938 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.631e-05/0.2625, allocations: 15.98 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.2626, allocations: 39.86 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.2627, allocations: 11.98 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.2628, allocations: 11.98 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.2628, allocations: 23.86 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.2628, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.2628, allocations: 4 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.2629, allocations: 3.984 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.2629, allocations: 45.62 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.109e-05/0.263, allocations: 35.81 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.263, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.263, allocations: 3.938 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.263, allocations: 0 / 1.06 GB, free: 3.406 MB / 0.8106 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.0004178/0.2634, allocations: 367.7 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2635, allocations: 15.97 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.2635, allocations: 30.75 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.2635, allocations: 4.938 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.2636, allocations: 172.2 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.2636, allocations: 4.375 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.2637, allocations: 384 / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2639, allocations: 86.2 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2639, allocations: 3.938 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.2639, allocations: 0 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2639, allocations: 3.938 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2642, allocations: 91.86 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.2645, allocations: 268.9 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.2647, allocations: 62.55 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.2649, allocations: 52.91 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2649, allocations: 7.984 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.265, allocations: 34.56 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.265, allocations: 3.938 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005317/0.2655, allocations: 161.5 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2655, allocations: 59.39 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.2656, allocations: 105.8 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2656, allocations: 25.7 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.2657, allocations: 88.14 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2657, allocations: 3.906 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.2657, allocations: 9.719 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.2658, allocations: 318.8 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2659, allocations: 43.97 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2661, allocations: 43.97 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.2664, allocations: 100.7 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2664, allocations: 0 / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003262/0.2667, allocations: 125.5 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2667, allocations: 7.984 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2668, allocations: 0 / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.2668, allocations: 0 / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2669, allocations: 19.98 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2669, allocations: 4 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.267, allocations: 15.98 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.267, allocations: 0 / 1.062 GB, free: 0.875 MB / 0.8106 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 6.434e-05/0.2671, allocations: 117.8 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.2671, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.2675, allocations: 137.4 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2675, allocations: 0 / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2675, allocations: 4 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2675, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.2676, allocations: 173.5 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2677, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.2678, allocations: 19.98 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2678, allocations: 3.984 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2678, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2678, allocations: 4 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2678, allocations: 8 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2681, allocations: 219.3 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.2682, allocations: 81.05 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.2682, allocations: 4 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.2683, allocations: 20.03 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.2684, allocations: 4.422 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.2684, allocations: 4 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.2684, allocations: 87.2 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2684, allocations: 0 / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002035/0.2686, allocations: 8 kB / 1.063 GB, free: 15.89 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.0006043/0.2692, allocations: 0.7591 MB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.2696, allocations: 87.92 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2696, allocations: 4 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2698, allocations: 43.97 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.27, allocations: 11.98 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.2704, allocations: 170.2 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.2706, allocations: 0.6809 MB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.2706, allocations: 3.938 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.2706, allocations: 19.42 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2706, allocations: 0 / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4214/0.6921, allocations: 1.291 MB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.6923, allocations: 203.2 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.374, allocations: 0 / 1.066 GB, free: 12.61 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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