Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",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.001042/0.001042, allocations: 87.03 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.001339/0.001339, 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.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.336 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.475/2.475, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003767, allocations: 16 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.7569, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0007947/0.7577, allocations: 483.9 kB / 0.9543 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.7585, allocations: 0.8544 MB / 0.9552 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.7585, allocations: 1.438 kB / 0.9552 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.7585, allocations: 3.938 kB / 0.9552 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.7586, allocations: 8.484 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.7588, allocations: 32.09 kB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.7589, allocations: 77.66 kB / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.759, allocations: 18.11 kB / 0.9553 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.759, allocations: 31.22 kB / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.7591, allocations: 37.2 kB / 0.9554 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.7591, allocations: 7.875 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.7592, allocations: 2.844 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.7592, allocations: 18.16 kB / 0.9554 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.7592, allocations: 37.89 kB / 0.9554 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.011e-05/0.7593, allocations: 50.98 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7593, allocations: 0 / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7593, allocations: 1.562 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.7593, allocations: 0 / 0.9555 GB, free: 6.777 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.0004745/0.7598, allocations: 401.8 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.7598, allocations: 10.44 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.7599, allocations: 35.81 kB / 0.9559 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.7599, allocations: 7.344 kB / 0.9559 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.676e-05/0.76, allocations: 180.3 kB / 0.9561 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.76, allocations: 2.719 kB / 0.9561 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.7601, allocations: 11.5 kB / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.7603, allocations: 118.5 kB / 0.9562 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.7604, allocations: 0 / 0.9562 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.7604, allocations: 3.953 kB / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7604, allocations: 5.438 kB / 0.9562 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.7608, allocations: 119.9 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.7612, allocations: 350.2 kB / 0.9567 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.7617, allocations: 131.5 kB / 0.9568 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.7619, allocations: 71.91 kB / 0.9569 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.762, allocations: 1.094 kB / 0.9569 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.762, allocations: 35.66 kB / 0.9569 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.762, allocations: 3.938 kB / 0.9569 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000625/0.7626, allocations: 208.7 kB / 0.9571 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.7627, allocations: 52.38 kB / 0.9571 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.7628, allocations: 124.6 kB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.7628, allocations: 30.95 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.7628, allocations: 90.55 kB / 0.9574 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.7628, allocations: 31.19 kB / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.7629, allocations: 0 / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.7629, allocations: 317 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.7631, allocations: 56.64 kB / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.7633, allocations: 54.55 kB / 0.9578 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.7634, allocations: 57.55 kB / 0.9579 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7635, allocations: 3.953 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000378/0.7638, allocations: 163 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7639, allocations: 4.906 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7639, allocations: 1.406 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.7639, allocations: 0 / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.7641, allocations: 28.53 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.7641, allocations: 9.688 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.7642, allocations: 16.17 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.7642, allocations: 5.906 kB / 0.9581 GB, free: 4.531 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 (sub.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 5.953e-05/0.7643, allocations: 113.9 kB / 0.9582 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.7643, allocations: 13.75 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.7643, allocations: 10.12 kB / 0.9582 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7643, allocations: 9.969 kB / 0.9582 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7643, allocations: 0 / 0.9582 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.7643, allocations: 0 / 0.9582 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.7645, allocations: 198.8 kB / 0.9584 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7645, allocations: 1.469 kB / 0.9584 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.7647, allocations: 32.92 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7647, allocations: 0 / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.7647, allocations: 1.5 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7647, allocations: 4 kB / 0.9585 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7647, allocations: 1.594 kB / 0.9585 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.7651, allocations: 254.5 kB / 0.9587 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.7652, allocations: 78.86 kB / 0.9588 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.7652, allocations: 5.141 kB / 0.9588 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.7653, allocations: 20.12 kB / 0.9588 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.7654, allocations: 29.84 kB / 0.9588 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.7654, allocations: 5.719 kB / 0.9588 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.7655, allocations: 94.11 kB / 0.9589 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7655, allocations: 0 / 0.9589 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002355/0.7657, allocations: 22.84 kB / 0.959 GB, free: 3.73 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 (sub.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.0005807/0.7663, allocations: 0.7915 MB / 0.9597 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.7667, allocations: 128.8 kB / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7667, allocations: 0 / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.7669, allocations: 71.94 kB / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.7672, allocations: 13.17 kB / 0.9599 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.7684, allocations: 0.6607 MB / 0.9606 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.7685, allocations: 0.6907 MB / 0.9613 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.813e-05/0.7686, allocations: 14.64 kB / 0.9613 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.7687, allocations: 24.8 kB / 0.9613 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of SimCode: time 5.82e-07/0.7687, allocations: 0 / 0.9613 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.7808, allocations: 2.261 MB / 0.9635 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.7809, allocations: 189.1 kB / 0.9637 GB, free: 376 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.644, allocations: 0 / 0.9637 GB, free: 376 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat