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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001424/0.001424, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00166/0.00166, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 72.06 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6813/0.6826, allocations: 140.4 MB / 0.9493 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001967/0.6847, allocations: 0.7586 MB / 0.95 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.6855, allocations: 0.8058 MB / 0.9508 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.6855, allocations: 0 / 0.9508 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.6855, allocations: 3.938 kB / 0.9508 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.6856, allocations: 13.7 kB / 0.9508 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.6858, allocations: 9.266 kB / 0.9508 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.414e-05/0.6858, allocations: 40.95 kB / 0.9509 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.6859, allocations: 5.094 kB / 0.9509 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.686, allocations: 22.58 kB / 0.9509 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.6861, allocations: 21.16 kB / 0.9509 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.6861, allocations: 4 kB / 0.9509 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.6861, allocations: 2.875 kB / 0.9509 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.6861, allocations: 13.09 kB / 0.9509 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.6862, allocations: 24.12 kB / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.007e-05/0.6863, allocations: 35.28 kB / 0.951 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6863, allocations: 0 / 0.951 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6863, allocations: 0 / 0.951 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.6863, allocations: 1.688 kB / 0.951 GB, free: 7.961 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.0004641/0.6867, allocations: 364.7 kB / 0.9513 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6868, allocations: 12.69 kB / 0.9513 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.6868, allocations: 48.05 kB / 0.9514 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.6869, allocations: 2.281 kB / 0.9514 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.903e-05/0.687, allocations: 167.1 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.687, allocations: 1.594 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.687, allocations: 5.781 kB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.6872, allocations: 67.88 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6872, allocations: 3.938 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6873, allocations: 1.219 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6873, allocations: 4 kB / 0.9516 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.6875, allocations: 63.77 kB / 0.9517 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.6879, allocations: 270 kB / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.6881, allocations: 57.81 kB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.6882, allocations: 38.83 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.6882, allocations: 1.375 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6883, allocations: 34.55 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.6883, allocations: 1.281 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005293/0.6888, allocations: 132.9 kB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.6888, allocations: 52.94 kB / 0.9522 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.6889, allocations: 108 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.6889, allocations: 25.7 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.689, allocations: 97.45 kB / 0.9525 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.689, allocations: 9.188 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.689, allocations: 16.41 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.6891, allocations: 312.5 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.6892, allocations: 33.2 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.6893, allocations: 29.31 kB / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.6896, allocations: 84.12 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6896, allocations: 0 / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002913/0.6899, allocations: 97.22 kB / 0.953 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6899, allocations: 8.781 kB / 0.953 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.69, allocations: 4.047 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.69, allocations: 3.984 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.6901, allocations: 22.59 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.6901, allocations: 320 / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.6902, allocations: 11.27 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.6902, allocations: 1.156 kB / 0.9531 GB, free: 5.938 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.815e-05/0.6903, allocations: 111.3 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.6903, allocations: 6.75 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.6906, allocations: 108.8 kB / 0.9533 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6906, allocations: 0 / 0.9533 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6906, allocations: 3.938 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6907, allocations: 9.266 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.6908, allocations: 168.7 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6908, allocations: 0 / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.6909, allocations: 18.39 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6909, allocations: 0.875 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6909, allocations: 1.125 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6909, allocations: 3.984 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6909, allocations: 0 / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.6912, allocations: 208.4 kB / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.6913, allocations: 78.8 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.6913, allocations: 2.094 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.6914, allocations: 9.703 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.6914, allocations: 10.3 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.6914, allocations: 0 / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.6915, allocations: 86.27 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6915, allocations: 0 / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002115/0.6917, allocations: 14.31 kB / 0.9539 GB, free: 5.137 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.0005488/0.6923, allocations: 0.724 MB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.6926, allocations: 79.44 kB / 0.9547 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6926, allocations: 0 / 0.9547 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.6928, allocations: 32.19 kB / 0.9547 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.6931, allocations: 4.516 kB / 0.9547 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.6935, allocations: 164 kB / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.6936, allocations: 0.6839 MB / 0.9555 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.6937, allocations: 1.156 kB / 0.9555 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.6937, allocations: 18.33 kB / 0.9555 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6937, allocations: 7.938 kB / 0.9555 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.7061, allocations: 1.406 MB / 0.9569 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.7063, allocations: 205.7 kB / 0.9571 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.57, allocations: 0 / 0.9571 GB, free: 2.531 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