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.001006/0.001006, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004822/0.004822, allocations: 170 kB / 16.26 MB, free: 6.613 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.164/1.164, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.113/2.113, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5615/0.5618, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0007256/0.5626, allocations: 444 kB / 0.9556 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006522/0.5632, allocations: 0.8012 MB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.5633, allocations: 1.094 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.5633, allocations: 0 / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.5634, allocations: 9.453 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.917e-05/0.5635, allocations: 9.859 kB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.238e-05/0.5635, allocations: 36.83 kB / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.5636, allocations: 11.98 kB / 0.9565 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.224e-05/0.5637, allocations: 17.94 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.5637, allocations: 25.38 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.5638, allocations: 2.312 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-06/0.5638, allocations: 1.094 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.5638, allocations: 5.219 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.5638, allocations: 41.06 kB / 0.9566 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.049e-05/0.5639, allocations: 34.98 kB / 0.9566 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5639, allocations: 0 / 0.9566 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5639, allocations: 1.188 kB / 0.9566 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.5639, allocations: 0 / 0.9566 GB, free: 6.551 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.0003674/0.5643, allocations: 375.6 kB / 0.9569 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5643, allocations: 9.312 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.5644, allocations: 35.72 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.5644, allocations: 6.969 kB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.701e-05/0.5644, allocations: 168 kB / 0.9572 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.5645, allocations: 8.312 kB / 0.9572 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.5645, allocations: 3.031 kB / 0.9572 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.5647, allocations: 84.11 kB / 0.9572 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.5647, allocations: 4.719 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.5647, allocations: 0 / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5647, allocations: 1.188 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.565, allocations: 91.61 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.5653, allocations: 262.2 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.5655, allocations: 66.66 kB / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.5656, allocations: 57.53 kB / 0.9577 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.5656, allocations: 0 / 0.9577 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.5657, allocations: 31.53 kB / 0.9577 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.5657, allocations: 7.938 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005188/0.5662, allocations: 155.4 kB / 0.9579 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.5662, allocations: 52.81 kB / 0.9579 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.777e-05/0.5663, allocations: 107 kB / 0.958 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.5663, allocations: 27.36 kB / 0.9581 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.5663, allocations: 97.41 kB / 0.9582 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.5663, allocations: 13.27 kB / 0.9582 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.5663, allocations: 13.72 kB / 0.9582 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.5664, allocations: 316.5 kB / 0.9585 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.5665, allocations: 47.7 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.5667, allocations: 38.62 kB / 0.9586 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.567, allocations: 94.84 kB / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.567, allocations: 1.812 kB / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003005/0.5673, allocations: 115.7 kB / 0.9588 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5673, allocations: 6.281 kB / 0.9588 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5673, allocations: 7.984 kB / 0.9588 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.5673, allocations: 3.984 kB / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.5675, allocations: 19.73 kB / 0.9588 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.5675, allocations: 3.938 kB / 0.9588 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.5675, allocations: 20.27 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.5676, allocations: 5.375 kB / 0.9588 GB, free: 4.512 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 4.424e-05/0.5676, allocations: 119.2 kB / 0.959 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.5676, allocations: 2.75 kB / 0.959 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.568, allocations: 127.3 kB / 0.9591 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.568, allocations: 5.312 kB / 0.9591 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.568, allocations: 3.984 kB / 0.9591 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.568, allocations: 0 / 0.9591 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.5681, allocations: 169.8 kB / 0.9593 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5681, allocations: 0 / 0.9593 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.401e-05/0.5682, allocations: 23.11 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5682, allocations: 1.375 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.5682, allocations: 0 / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5682, allocations: 7.922 kB / 0.9593 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5683, allocations: 1.375 kB / 0.9593 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.5686, allocations: 219.7 kB / 0.9595 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.5686, allocations: 78.27 kB / 0.9596 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.5686, allocations: 4 kB / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5687, allocations: 20.19 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.5688, allocations: 2.469 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.5688, allocations: 0 / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.468e-05/0.5688, allocations: 89.95 kB / 0.9597 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5688, allocations: 0 / 0.9597 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002049/0.569, allocations: 10.47 kB / 0.9597 GB, free: 3.715 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.0004894/0.5695, allocations: 0.7586 MB / 0.9604 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.5698, allocations: 90.73 kB / 0.9605 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5698, allocations: 0 / 0.9605 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.57, allocations: 46.78 kB / 0.9606 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.5703, allocations: 12.94 kB / 0.9606 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.5706, allocations: 162.8 kB / 0.9607 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.657e-05/0.5707, allocations: 0.6839 MB / 0.9614 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.5707, allocations: 5.531 kB / 0.9614 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.5708, allocations: 16.52 kB / 0.9614 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5708, allocations: 0 / 0.9614 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5092/1.08, allocations: 1.289 MB / 0.9627 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/1.08, allocations: 205.5 kB / 0.9629 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.959, allocations: 0 / 0.9629 GB, free: 1.191 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