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.001092/0.001092, 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.001127/0.001127, allocations: 195 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 461.8 MB / 0.7342 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 70.38 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.247, allocations: 157.4 MB / 1.052 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001822/0.2489, allocations: 0.7651 MB / 1.053 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.2497, allocations: 0.8195 MB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.2498, allocations: 3.938 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.2498, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.2499, allocations: 11.94 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.474e-05/0.25, allocations: 7.984 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.2501, allocations: 35.92 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.2502, allocations: 12 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.2502, allocations: 19.86 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.2503, allocations: 19.91 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.2503, allocations: 4 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.2503, allocations: 4 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.2503, allocations: 8 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.2504, allocations: 23.84 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.398e-05/0.2505, allocations: 35.88 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.2505, allocations: 0 / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.21e-07/0.2505, allocations: 0 / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2505, allocations: 0 / 1.054 GB, free: 6.324 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.0004462/0.2509, allocations: 355.7 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.251, allocations: 11.97 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.251, allocations: 42.73 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.251, allocations: 8.844 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/0.2511, allocations: 164.3 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.2512, allocations: 4.375 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2512, allocations: 384 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2514, allocations: 74.16 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2514, allocations: 3.938 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2514, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2515, allocations: 3.984 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.2517, allocations: 63.94 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.252, allocations: 268.8 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.2522, allocations: 62.47 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.2524, allocations: 36.92 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2524, allocations: 4 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.2524, allocations: 34.55 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.2524, allocations: 3.938 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004867/0.2529, allocations: 133.5 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.253, allocations: 51.41 kB / 1.055 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.2531, allocations: 109.8 kB / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2531, allocations: 25.7 kB / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.2531, allocations: 92.11 kB / 1.055 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.2531, allocations: 19.75 kB / 1.055 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.2532, allocations: 13.72 kB / 1.055 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.2533, allocations: 314.8 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2534, allocations: 35.95 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2535, allocations: 27.97 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2538, allocations: 76.72 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2538, allocations: 0 / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000291/0.2541, allocations: 93.62 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2541, allocations: 5.406 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2541, allocations: 8 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.2542, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2543, allocations: 23.91 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2543, allocations: 0 / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.2544, allocations: 11.98 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2544, allocations: 0 / 1.056 GB, free: 3.949 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.496e-05/0.2545, allocations: 113.8 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.2545, allocations: 3.906 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.2548, allocations: 109.5 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2548, allocations: 0 / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2548, allocations: 0 / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2548, allocations: 3.984 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.255, allocations: 173.5 kB / 1.056 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.255, allocations: 0 / 1.056 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.2551, allocations: 19.98 kB / 1.056 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2551, allocations: 3.938 kB / 1.056 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2551, allocations: 0 / 1.056 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.2551, allocations: 4 kB / 1.056 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2551, allocations: 0 / 1.056 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.2555, allocations: 199.4 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.2555, allocations: 81.02 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2555, allocations: 0 / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2557, allocations: 15.92 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.2557, allocations: 7.984 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2557, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.2558, allocations: 87.27 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2558, allocations: 0 / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002177/0.256, allocations: 11.94 kB / 1.057 GB, free: 3.027 MB / 0.8106 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.0006385/0.2566, allocations: 0.7323 MB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.2569, allocations: 79.95 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.257, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.2571, allocations: 35.91 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.2574, allocations: 4 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.2578, allocations: 172.7 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.258, allocations: 0.6809 MB / 1.058 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.258, allocations: 3.984 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.2581, allocations: 11.44 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2581, allocations: 4 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.095/1.353, allocations: 1.361 MB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.354, allocations: 204.2 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.617, allocations: 3.938 kB / 1.06 GB, free: 15.7 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