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.000921/0.0009211, allocations: 100 kB / 15.05 MB, free: 1.105 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.001075/0.001075, allocations: 177.3 kB / 15.95 MB, free: 216 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.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.472/2.472, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003901, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7257, allocations: 142.3 MB / 0.9536 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0009381/0.7267, allocations: 486.3 kB / 0.9541 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.7279, allocations: 0.848 MB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.7279, allocations: 5.312 kB / 0.9549 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.728, allocations: 3.938 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.7281, allocations: 17.16 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.7283, allocations: 30.84 kB / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.7284, allocations: 45.78 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.7285, allocations: 17.95 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.7286, allocations: 35.59 kB / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.7287, allocations: 40.67 kB / 0.9551 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.7287, allocations: 2.469 kB / 0.9551 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.7287, allocations: 3.875 kB / 0.9551 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.7288, allocations: 14.94 kB / 0.9551 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.7288, allocations: 39.8 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.141e-05/0.7289, allocations: 51.77 kB / 0.9552 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.7289, allocations: 1.469 kB / 0.9552 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7289, allocations: 0 / 0.9552 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.7289, allocations: 0 / 0.9552 GB, free: 6.855 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.0006002/0.7295, allocations: 398.5 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.7296, allocations: 9.469 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.7297, allocations: 40.95 kB / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.7297, allocations: 6.812 kB / 0.9556 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.7299, allocations: 184.5 kB / 0.9558 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.7299, allocations: 6.781 kB / 0.9558 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.7299, allocations: 6.938 kB / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.7303, allocations: 109.8 kB / 0.9559 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.7303, allocations: 0 / 0.9559 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.7303, allocations: 5.172 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.7303, allocations: 4.781 kB / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.7308, allocations: 123 kB / 0.956 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.7313, allocations: 339.3 kB / 0.9564 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.732, allocations: 131.5 kB / 0.9565 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.732, allocations: 4.984 kB / 0.9565 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.7321, allocations: 35.58 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.7321, allocations: 1.031 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007377/0.7328, allocations: 220.1 kB / 0.9567 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.7328, allocations: 52.41 kB / 0.9568 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.801e-05/0.733, allocations: 125.5 kB / 0.9569 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.733, allocations: 30.8 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.733, allocations: 86.55 kB / 0.957 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.7331, allocations: 31.02 kB / 0.9571 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.7331, allocations: 0 / 0.9571 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.7331, allocations: 317.4 kB / 0.9574 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.7333, allocations: 52.67 kB / 0.9574 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.7335, allocations: 58.17 kB / 0.9575 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.7337, allocations: 56.98 kB / 0.9575 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7337, allocations: 0 / 0.9575 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004052/0.7341, allocations: 171 kB / 0.9577 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7342, allocations: 5.688 kB / 0.9577 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7342, allocations: 3.938 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.7342, allocations: 1.219 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.7344, allocations: 28.69 kB / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.7344, allocations: 0 / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.7345, allocations: 25.36 kB / 0.9577 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.7345, allocations: 5.078 kB / 0.9577 GB, free: 4.641 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 7.199e-05/0.7346, allocations: 118.7 kB / 0.9579 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.7346, allocations: 10.02 kB / 0.9579 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.7347, allocations: 9.375 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.7347, allocations: 5.844 kB / 0.9579 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7347, allocations: 3.938 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7347, allocations: 4 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.7349, allocations: 196.8 kB / 0.9581 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7349, allocations: 0 / 0.9581 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.7351, allocations: 28.22 kB / 0.9581 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.7351, allocations: 5.141 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.7351, allocations: 1.031 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7351, allocations: 0 / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7351, allocations: 1.188 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.7355, allocations: 262.4 kB / 0.9584 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.7356, allocations: 78.64 kB / 0.9584 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.7356, allocations: 9.531 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.7358, allocations: 15.95 kB / 0.9585 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.7358, allocations: 25.56 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.7359, allocations: 2.594 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.7359, allocations: 97.08 kB / 0.9586 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7359, allocations: 0 / 0.9586 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002489/0.7362, allocations: 23.81 kB / 0.9586 GB, free: 3.84 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.0007458/0.7369, allocations: 0.7812 MB / 0.9594 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.7374, allocations: 128.8 kB / 0.9595 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7374, allocations: 0 / 0.9595 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.7376, allocations: 71.95 kB / 0.9596 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.7379, allocations: 22.03 kB / 0.9596 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.7393, allocations: 0.6535 MB / 0.9602 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.7395, allocations: 0.6911 MB / 0.9609 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.944e-05/0.7396, allocations: 14.52 kB / 0.9609 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.7397, allocations: 28.33 kB / 0.9609 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7397, allocations: 0 / 0.9609 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.7534, allocations: 2.243 MB / 0.9631 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.7536, allocations: 189.8 kB / 0.9633 GB, free: 496 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.487, allocations: 0 / 0.9633 GB, free: 496 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