Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_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.001623/0.001623, 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.001623/0.001623, allocations: 192.4 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.428/2.428, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8024, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002397/0.8049, allocations: 0.8325 MB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.8061, allocations: 0.8619 MB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.8062, allocations: 5.094 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.8063, allocations: 3.938 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.8064, allocations: 5.031 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.8067, allocations: 39.77 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.8068, allocations: 78.39 kB / 0.9508 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.807, allocations: 24.92 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.8071, allocations: 37.89 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.94e-05/0.8072, allocations: 44.67 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.8072, allocations: 5.062 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.8072, allocations: 5.031 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.8073, allocations: 26.66 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.8073, allocations: 30.39 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.8075, allocations: 82.5 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.8075, allocations: 0 / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8075, allocations: 0 / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.8075, allocations: 1.438 kB / 0.9511 GB, free: 7.457 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006472/0.8082, allocations: 392.6 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.8082, allocations: 9.25 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.8083, allocations: 40.34 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.8083, allocations: 9 kB / 0.9515 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.8085, allocations: 185.8 kB / 0.9517 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.8085, allocations: 7.125 kB / 0.9517 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.8085, allocations: 7.906 kB / 0.9517 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.8088, allocations: 104.8 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8088, allocations: 0 / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.8088, allocations: 0 / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.8089, allocations: 6.422 kB / 0.9518 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.8092, allocations: 111.6 kB / 0.9519 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.8097, allocations: 338.3 kB / 0.9522 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.8104, allocations: 122.4 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.8106, allocations: 51.75 kB / 0.9524 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.8106, allocations: 1.531 kB / 0.9524 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.8106, allocations: 42.55 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.8107, allocations: 3.938 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006478/0.8113, allocations: 176.6 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.8113, allocations: 56.53 kB / 0.9527 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.8114, allocations: 134.3 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.8115, allocations: 29.64 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.8115, allocations: 91.31 kB / 0.9529 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.8115, allocations: 25.8 kB / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.8116, allocations: 24.39 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.8117, allocations: 321.1 kB / 0.9533 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.8118, allocations: 43.27 kB / 0.9533 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.812, allocations: 49.3 kB / 0.9534 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.8124, allocations: 97.61 kB / 0.9535 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8124, allocations: 1.344 kB / 0.9535 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003991/0.8128, allocations: 143.6 kB / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8128, allocations: 10.12 kB / 0.9536 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8128, allocations: 0 / 0.9536 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8128, allocations: 0 / 0.9536 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.813, allocations: 24.75 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.813, allocations: 4.062 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.8131, allocations: 15.55 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.8132, allocations: 5.781 kB / 0.9536 GB, free: 5.156 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.333e-05/0.8133, allocations: 113.5 kB / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.8133, allocations: 12.05 kB / 0.9538 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.8137, allocations: 150.8 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.8138, allocations: 5.781 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.8138, allocations: 0 / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.8138, allocations: 3.938 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.814, allocations: 199.5 kB / 0.9541 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.814, allocations: 1.344 kB / 0.9541 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.8141, allocations: 24.34 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8141, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.8142, allocations: 1.219 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8142, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8142, allocations: 5.375 kB / 0.9541 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.8146, allocations: 238.7 kB / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.8146, allocations: 91.38 kB / 0.9545 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.8147, allocations: 5.281 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.8148, allocations: 11.3 kB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.8149, allocations: 30.62 kB / 0.9545 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.8149, allocations: 1.5 kB / 0.9545 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.8149, allocations: 97.3 kB / 0.9546 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.815, allocations: 1.344 kB / 0.9546 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002401/0.8152, allocations: 23.34 kB / 0.9546 GB, free: 4.262 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006897/0.8159, allocations: 0.7691 MB / 0.9554 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.8163, allocations: 104.6 kB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8163, allocations: 1.125 kB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.8165, allocations: 63.02 kB / 0.9555 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.8169, allocations: 15.55 kB / 0.9555 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.8187, allocations: 1.541 MB / 0.9571 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.8188, allocations: 0.6897 MB / 0.9577 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.612e-05/0.8189, allocations: 18.89 kB / 0.9577 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.819, allocations: 24.11 kB / 0.9578 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.819, allocations: 1.031 kB / 0.9578 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.8309, allocations: 2.329 MB / 0.96 GB, free: 168 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/0.8313, allocations: 199 kB / 0.9602 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.591, allocations: 0 / 0.9602 GB, free: 15.91 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches