Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001343/0.001343, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6399, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001651/0.6416, allocations: 0.7582 MB / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006188/0.6422, allocations: 0.8052 MB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.6422, allocations: 1.094 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.6423, allocations: 3.938 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.6423, allocations: 4.844 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.205e-05/0.6424, allocations: 10.58 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.6425, allocations: 40.77 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.6426, allocations: 15.8 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.6426, allocations: 10.38 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.6427, allocations: 25 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.6427, allocations: 2.5 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.6427, allocations: 2.469 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.6428, allocations: 9.234 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.6428, allocations: 15.86 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.496e-05/0.6429, allocations: 39.66 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6429, allocations: 4 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.11e-07/0.6429, allocations: 0 / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.6429, allocations: 0 / 0.9508 GB, free: 7.773 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000389/0.6433, allocations: 364.8 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6433, allocations: 14.36 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.42e-05/0.6433, allocations: 34.69 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.6434, allocations: 4 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.455e-05/0.6434, allocations: 179.1 kB / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.6434, allocations: 4.375 kB / 0.9513 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.6435, allocations: 2.906 kB / 0.9513 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.6437, allocations: 71.55 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.6437, allocations: 3.938 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.6437, allocations: 0 / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6437, allocations: 0.9375 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.644, allocations: 62.88 kB / 0.9515 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.6442, allocations: 279 kB / 0.9517 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.6444, allocations: 52.62 kB / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.6446, allocations: 40.11 kB / 0.9518 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.6446, allocations: 5.203 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.6446, allocations: 34.56 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6446, allocations: 1.156 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005183/0.6452, allocations: 134.4 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.6452, allocations: 51.41 kB / 0.952 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.6453, allocations: 111.5 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.6453, allocations: 25.7 kB / 0.9522 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.6453, allocations: 90.94 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.6453, allocations: 9.25 kB / 0.9523 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.6454, allocations: 16.5 kB / 0.9523 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.6454, allocations: 316.2 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.6456, allocations: 32.45 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.6457, allocations: 29.81 kB / 0.9527 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.646, allocations: 75.06 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.646, allocations: 3.938 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002884/0.6463, allocations: 102 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.6463, allocations: 5.562 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6463, allocations: 0 / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6463, allocations: 3.984 kB / 0.9528 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.6464, allocations: 14.61 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6465, allocations: 5.281 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.6465, allocations: 10.36 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.6466, allocations: 1.219 kB / 0.9529 GB, free: 5.75 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 (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 5.249e-05/0.6466, allocations: 116.2 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.6466, allocations: 1.469 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.647, allocations: 112.8 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.647, allocations: 3.984 kB / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.647, allocations: 1.094 kB / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.647, allocations: 4.031 kB / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.6471, allocations: 169.2 kB / 0.9533 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6471, allocations: 1.156 kB / 0.9533 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-05/0.6472, allocations: 13.36 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6472, allocations: 1 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.6473, allocations: 5.375 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.6473, allocations: 7.984 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6473, allocations: 0 / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.6476, allocations: 200.5 kB / 0.9535 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.6476, allocations: 78.52 kB / 0.9535 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.6476, allocations: 5.406 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.6478, allocations: 17.84 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.6478, allocations: 2.438 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6478, allocations: 0 / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.6478, allocations: 90.64 kB / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6479, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.6481, allocations: 6.25 kB / 0.9537 GB, free: 4.953 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 (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.0005245/0.6486, allocations: 0.7315 MB / 0.9544 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.6489, allocations: 74.7 kB / 0.9544 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6489, allocations: 1.281 kB / 0.9545 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.6491, allocations: 32.34 kB / 0.9545 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.6494, allocations: 7.844 kB / 0.9545 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.6497, allocations: 165.1 kB / 0.9546 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.968e-05/0.6498, allocations: 0.6807 MB / 0.9553 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.6499, allocations: 5.641 kB / 0.9553 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.6499, allocations: 12 kB / 0.9553 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6499, allocations: 0 / 0.9553 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/0.6601, allocations: 1.36 MB / 0.9567 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/0.6602, allocations: 205.8 kB / 0.9569 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.372, allocations: 0 / 0.9569 GB, free: 2.359 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches