Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.001514/0.001514, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001837/0.001837, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.164/2.164, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7693, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001445/0.7707, allocations: 0.8307 MB / 0.9499 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005834/0.7713, allocations: 0.8572 MB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.7714, allocations: 1.375 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.7714, allocations: 11.92 kB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.7715, allocations: 5.312 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.7716, allocations: 38.83 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.963e-05/0.7717, allocations: 76.83 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.7718, allocations: 22.98 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.7718, allocations: 39.84 kB / 0.9509 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.7719, allocations: 48.61 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.7719, allocations: 5.844 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.7719, allocations: 5.062 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.772, allocations: 14.5 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.772, allocations: 34.5 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.514e-05/0.7721, allocations: 78.64 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.7721, allocations: 3.984 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.11e-07/0.7721, allocations: 0 / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.7721, allocations: 0 / 0.9511 GB, free: 7.492 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.0004422/0.7725, allocations: 393.8 kB / 0.9515 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.7726, allocations: 9.875 kB / 0.9515 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.7726, allocations: 39.67 kB / 0.9515 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.7726, allocations: 9.281 kB / 0.9515 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.724e-05/0.7727, allocations: 180.3 kB / 0.9517 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.7727, allocations: 8.188 kB / 0.9517 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.7727, allocations: 4.219 kB / 0.9517 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.773, allocations: 112.1 kB / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.773, allocations: 0 / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.773, allocations: 5.281 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.773, allocations: 1.156 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.7734, allocations: 91.5 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.7737, allocations: 359.3 kB / 0.9522 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.7743, allocations: 118.1 kB / 0.9523 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.7745, allocations: 65.44 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.7745, allocations: 2.125 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.318e-06/0.7745, allocations: 34.56 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.7745, allocations: 0 / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005707/0.7751, allocations: 180.3 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.7751, allocations: 57 kB / 0.9527 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.689e-05/0.7752, allocations: 129.3 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.7752, allocations: 25.7 kB / 0.9528 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.7752, allocations: 99.08 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.7753, allocations: 21.78 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.7753, allocations: 28.08 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.088e-05/0.7753, allocations: 320.9 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.7755, allocations: 47.95 kB / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.7757, allocations: 45.2 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.776, allocations: 96.94 kB / 0.9535 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.776, allocations: 1.156 kB / 0.9535 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003493/0.7763, allocations: 143.8 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.7763, allocations: 5 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.7764, allocations: 0 / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.7764, allocations: 1.25 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.7765, allocations: 31.19 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.7765, allocations: 1.562 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.7766, allocations: 14.89 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.7767, allocations: 6.797 kB / 0.9536 GB, free: 5.191 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,add1.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 4.938e-05/0.7767, allocations: 112.9 kB / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.7768, allocations: 6.562 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.7768, allocations: 13.81 kB / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7768, allocations: 5.625 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.7768, allocations: 0 / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.7768, allocations: 3.938 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.7769, allocations: 196.3 kB / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.7769, allocations: 0 / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.7771, allocations: 24.91 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.7771, allocations: 0 / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.7771, allocations: 1.25 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7771, allocations: 0 / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7771, allocations: 1.531 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.7775, allocations: 238.8 kB / 0.9542 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.7775, allocations: 86.75 kB / 0.9543 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.7775, allocations: 1.344 kB / 0.9543 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.7777, allocations: 19.08 kB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.7777, allocations: 34.17 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.7777, allocations: 3.125 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.7778, allocations: 92.11 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7778, allocations: 0 / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002147/0.778, allocations: 20.06 kB / 0.9545 GB, free: 4.398 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 (add1.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.0005074/0.7785, allocations: 0.7647 MB / 0.9552 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.7789, allocations: 110.2 kB / 0.9553 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7789, allocations: 3.938 kB / 0.9553 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.7791, allocations: 70.36 kB / 0.9554 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.7793, allocations: 12.48 kB / 0.9554 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.7809, allocations: 1.548 MB / 0.9569 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.781, allocations: 0.6914 MB / 0.9576 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.571e-05/0.781, allocations: 9.969 kB / 0.9576 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.7811, allocations: 28.44 kB / 0.9576 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7811, allocations: 0 / 0.9576 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3225/1.104, allocations: 2.315 MB / 0.9599 GB, free: 304 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/1.104, allocations: 200.3 kB / 0.9601 GB, free: 44 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/3.093, allocations: 0 / 0.9601 GB, free: 44 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches