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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0009806/0.0009809, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001222/0.001222, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.8281, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0009927/0.8291, allocations: 483.2 kB / 0.9543 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.83, allocations: 0.8586 MB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.8301, allocations: 1.219 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.8301, allocations: 3.938 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.8302, allocations: 5.406 kB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.8304, allocations: 35.08 kB / 0.9552 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.8306, allocations: 70.2 kB / 0.9553 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.8307, allocations: 22.86 kB / 0.9553 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.8308, allocations: 35.52 kB / 0.9553 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.8309, allocations: 35.75 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.831, allocations: 3.219 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.831, allocations: 3.875 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.831, allocations: 14.75 kB / 0.9554 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.831, allocations: 36.48 kB / 0.9554 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.982e-05/0.8311, allocations: 56.14 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8311, allocations: 0 / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8311, allocations: 1.094 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.8312, allocations: 4 kB / 0.9555 GB, free: 6.766 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.000594/0.8318, allocations: 390 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.8318, allocations: 10.72 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.8319, allocations: 44 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.8319, allocations: 12.12 kB / 0.9559 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.832, allocations: 178.8 kB / 0.9561 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.8321, allocations: 10.66 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.8321, allocations: 3.656 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.8324, allocations: 116.7 kB / 0.9562 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.8324, allocations: 4 kB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.8324, allocations: 8.984 kB / 0.9562 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.8324, allocations: 1.312 kB / 0.9562 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.8328, allocations: 118.8 kB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.8333, allocations: 346.9 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.8339, allocations: 128.5 kB / 0.9568 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.8341, allocations: 74.47 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.8342, allocations: 5.078 kB / 0.9569 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.8342, allocations: 31.53 kB / 0.9569 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.8342, allocations: 0 / 0.9569 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006572/0.8348, allocations: 212.4 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.8349, allocations: 53.53 kB / 0.9571 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.835, allocations: 124.6 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.835, allocations: 26.86 kB / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.835, allocations: 90.34 kB / 0.9574 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.8351, allocations: 23.12 kB / 0.9574 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.8351, allocations: 0 / 0.9574 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.8351, allocations: 324.9 kB / 0.9577 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.8353, allocations: 56.83 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.8355, allocations: 58.17 kB / 0.9578 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.8357, allocations: 53.83 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8357, allocations: 5.516 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003711/0.8361, allocations: 162.5 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8361, allocations: 8.344 kB / 0.958 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8361, allocations: 1.062 kB / 0.958 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.8361, allocations: 0 / 0.958 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.8363, allocations: 28.97 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8363, allocations: 1.156 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.8364, allocations: 24.31 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.8364, allocations: 10.25 kB / 0.9581 GB, free: 4.52 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/0.8365, allocations: 116.5 kB / 0.9582 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.8366, allocations: 11.2 kB / 0.9582 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.8366, allocations: 13.69 kB / 0.9582 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8366, allocations: 5.703 kB / 0.9582 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8366, allocations: 0 / 0.9582 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.8366, allocations: 0 / 0.9582 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.8368, allocations: 191.6 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8368, allocations: 1.656 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.837, allocations: 36.64 kB / 0.9585 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.837, allocations: 3.938 kB / 0.9585 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.837, allocations: 9.859 kB / 0.9585 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.837, allocations: 0 / 0.9585 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.837, allocations: 0 / 0.9585 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.8374, allocations: 258.4 kB / 0.9587 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.8374, allocations: 83.52 kB / 0.9588 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.8375, allocations: 5.234 kB / 0.9588 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.8376, allocations: 19.11 kB / 0.9588 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.8377, allocations: 22.98 kB / 0.9588 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.8377, allocations: 3 kB / 0.9588 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.8378, allocations: 96.23 kB / 0.9589 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8378, allocations: 0 / 0.9589 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002387/0.838, allocations: 24.72 kB / 0.959 GB, free: 3.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006631/0.8387, allocations: 0.7898 MB / 0.9597 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.8391, allocations: 124.9 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8391, allocations: 0 / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.8393, allocations: 75.92 kB / 0.9599 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.8396, allocations: 16.02 kB / 0.9599 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.8409, allocations: 0.6492 MB / 0.9606 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.8411, allocations: 0.695 MB / 0.9613 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.853e-05/0.8412, allocations: 10.61 kB / 0.9613 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.8412, allocations: 31.7 kB / 0.9613 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/0.8412, allocations: 0.9688 kB / 0.9613 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.8538, allocations: 2.239 MB / 0.9635 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.854, allocations: 183.9 kB / 0.9637 GB, free: 368 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.604, allocations: 6.062 kB / 0.9637 GB, free: 364 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat