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.000883/0.0008831, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005014/0.005014, allocations: 172.7 kB / 16.27 MB, free: 6.652 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.353/2.353, allocations: 390.9 MB / 0.6664 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 11.98 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7275, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.000884/0.7284, allocations: 0.49 MB / 0.9557 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.7293, allocations: 0.8607 MB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.7293, allocations: 1.062 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.7293, allocations: 3.938 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.7294, allocations: 9.188 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.7296, allocations: 34.41 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.414e-05/0.7297, allocations: 79.44 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.7298, allocations: 20.42 kB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.7299, allocations: 35.61 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.73, allocations: 48.81 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.73, allocations: 3.25 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.73, allocations: 3.406 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.73, allocations: 10.42 kB / 0.9567 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.7301, allocations: 51.84 kB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.159e-05/0.7302, allocations: 86.66 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7302, allocations: 0 / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7302, allocations: 0 / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.7302, allocations: 0 / 0.9569 GB, free: 6.305 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.0004934/0.7307, allocations: 386.1 kB / 0.9572 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.7308, allocations: 10.06 kB / 0.9572 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.7308, allocations: 44.95 kB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.7308, allocations: 8.344 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.356e-05/0.7309, allocations: 177 kB / 0.9575 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.731, allocations: 7.656 kB / 0.9575 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.731, allocations: 7.906 kB / 0.9575 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.7313, allocations: 117 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7313, allocations: 0 / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.7313, allocations: 5.562 kB / 0.9576 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.7313, allocations: 0.9688 kB / 0.9576 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.7317, allocations: 119 kB / 0.9577 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.7321, allocations: 350.4 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.7327, allocations: 128.2 kB / 0.9582 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.7329, allocations: 72.39 kB / 0.9582 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.733, allocations: 7.984 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.733, allocations: 39.81 kB / 0.9583 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.733, allocations: 0 / 0.9583 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006552/0.7337, allocations: 210.2 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.7337, allocations: 63.33 kB / 0.9585 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.7338, allocations: 127.1 kB / 0.9587 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.7338, allocations: 25.7 kB / 0.9587 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.7338, allocations: 102.1 kB / 0.9588 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.7339, allocations: 14.94 kB / 0.9588 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.7339, allocations: 16.16 kB / 0.9588 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.734, allocations: 321.3 kB / 0.9591 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.7341, allocations: 57.27 kB / 0.9592 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.7343, allocations: 54.23 kB / 0.9592 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.7347, allocations: 136.8 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7347, allocations: 1.375 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004038/0.7351, allocations: 150.5 kB / 0.9595 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.7351, allocations: 6.906 kB / 0.9595 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7351, allocations: 0 / 0.9595 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7352, allocations: 5.375 kB / 0.9595 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7353, allocations: 32.59 kB / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.7353, allocations: 1.375 kB / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.7355, allocations: 26.91 kB / 0.9596 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.7355, allocations: 2.75 kB / 0.9596 GB, free: 4.008 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 6.416e-05/0.7356, allocations: 117.9 kB / 0.9597 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.7356, allocations: 6.656 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.7356, allocations: 9.75 kB / 0.9597 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7356, allocations: 1.375 kB / 0.9597 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7356, allocations: 0 / 0.9597 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7356, allocations: 11.92 kB / 0.9597 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.7358, allocations: 195.5 kB / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7358, allocations: 1.375 kB / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.736, allocations: 28.59 kB / 0.9599 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.736, allocations: 0 / 0.9599 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.736, allocations: 9.359 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.736, allocations: 1.922 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.736, allocations: 0 / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.7364, allocations: 267 kB / 0.9602 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.7365, allocations: 82.39 kB / 0.9603 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.7365, allocations: 1.375 kB / 0.9603 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.7366, allocations: 18.98 kB / 0.9603 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.7367, allocations: 22.78 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.7367, allocations: 2.75 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.7368, allocations: 100.9 kB / 0.9604 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7368, allocations: 0 / 0.9604 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000223/0.737, allocations: 16.31 kB / 0.9604 GB, free: 3.211 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.0006184/0.7376, allocations: 0.799 MB / 0.9612 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.738, allocations: 133.2 kB / 0.9613 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.7381, allocations: 0 / 0.9613 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.7383, allocations: 72.62 kB / 0.9614 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.7386, allocations: 11.19 kB / 0.9614 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.7404, allocations: 1.599 MB / 0.963 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.7405, allocations: 0.6927 MB / 0.9637 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.7406, allocations: 10.19 kB / 0.9637 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.7406, allocations: 32.38 kB / 0.9637 GB, free: 260 kB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.7406, allocations: 0 / 0.9637 GB, free: 260 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.7521, allocations: 2.262 MB / 0.9659 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.7523, allocations: 200.5 kB / 0.9661 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.448, allocations: 0 / 0.9661 GB, free: 14.91 MB / 0.7325 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