Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.0009654/0.0009654, allocations: 84.38 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.0008922/0.0008922, 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.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.395 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.688/2.688, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8407/0.8411, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0005704/0.8417, allocations: 275.8 kB / 0.9541 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.85e-05/0.8418, allocations: 4 kB / 0.9541 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.8418, allocations: 1.281 kB / 0.9541 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.588e-06/0.8418, allocations: 0 / 0.9541 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.419e-05/0.8419, allocations: 0 / 0.9541 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.379e-05/0.8419, allocations: 0 / 0.9541 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.935e-05/0.8419, allocations: 5.25 kB / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.842, allocations: 1.25 kB / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.842, allocations: 1.094 kB / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.659e-05/0.842, allocations: 3.938 kB / 0.9542 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.8421, allocations: 0 / 0.9542 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.569e-06/0.8421, allocations: 1.219 kB / 0.9542 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-06/0.8421, allocations: 4 kB / 0.9542 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.8421, allocations: 29.69 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.322e-05/0.8421, allocations: 1.281 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8421, allocations: 0 / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8422, allocations: 0 / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.8422, allocations: 1.375 kB / 0.9542 GB, free: 7.863 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001778/0.8423, allocations: 304.7 kB / 0.9545 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.8424, allocations: 13.42 kB / 0.9545 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.427e-05/0.8424, allocations: 30.56 kB / 0.9545 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.909e-05/0.8424, allocations: 9.078 kB / 0.9545 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.32e-05/0.8425, allocations: 159.1 kB / 0.9547 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.8425, allocations: 5.094 kB / 0.9547 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.8425, allocations: 1.281 kB / 0.9547 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.506e-05/0.8426, allocations: 31.17 kB / 0.9547 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.8426, allocations: 0 / 0.9547 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.8426, allocations: 3.938 kB / 0.9547 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.8426, allocations: 1.094 kB / 0.9547 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.8427, allocations: 4.922 kB / 0.9547 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.8429, allocations: 390.7 kB / 0.9551 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.169e-05/0.8429, allocations: 170.5 kB / 0.9553 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.309e-05/0.843, allocations: 84.08 kB / 0.9553 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.843, allocations: 75.28 kB / 0.9554 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.843, allocations: 111.4 kB / 0.9555 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.843, allocations: 0 / 0.9555 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.967e-05/0.8431, allocations: 39.05 kB / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.8431, allocations: 126.7 kB / 0.9557 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.83e-05/0.8432, allocations: 93.73 kB / 0.9558 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-06/0.8432, allocations: 25.7 kB / 0.9558 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.395e-05/0.8432, allocations: 80.14 kB / 0.9559 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.8432, allocations: 9.312 kB / 0.9559 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.8432, allocations: 0 / 0.9559 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.8432, allocations: 314.8 kB / 0.9562 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-06/0.8432, allocations: 1.375 kB / 0.9562 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-06/0.8433, allocations: 0 / 0.9562 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.158e-05/0.8433, allocations: 75.28 kB / 0.9563 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.8433, allocations: 76.91 kB / 0.9563 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.678e-05/0.8433, allocations: 31.09 kB / 0.9564 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.8434, allocations: 86.69 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8434, allocations: 80.94 kB / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.8434, allocations: 158.5 kB / 0.9567 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-06/0.8434, allocations: 76.97 kB / 0.9567 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.8434, allocations: 154.5 kB / 0.9569 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.8435, allocations: 76.81 kB / 0.957 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.8435, allocations: 91.23 kB / 0.957 GB, free: 4.742 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.277e-05/0.8436, allocations: 263.1 kB / 0.9573 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.8436, allocations: 101 kB / 0.9574 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.8437, allocations: 109.2 kB / 0.9575 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.8437, allocations: 181.4 kB / 0.9577 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.8437, allocations: 189.1 kB / 0.9579 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.8437, allocations: 186.5 kB / 0.958 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.8439, allocations: 395.2 kB / 0.9584 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/0.8439, allocations: 110 kB / 0.9585 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.8439, allocations: 106 kB / 0.9586 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.552e-05/0.844, allocations: 181.3 kB / 0.9588 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.844, allocations: 185.4 kB / 0.959 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.272e-05/0.844, allocations: 176.3 kB / 0.9591 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-05/0.844, allocations: 181.4 kB / 0.9593 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.869e-05/0.8441, allocations: 308.2 kB / 0.9596 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.8441, allocations: 186.4 kB / 0.9598 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.8442, allocations: 185.6 kB / 0.96 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.8442, allocations: 106.4 kB / 0.9601 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.8443, allocations: 181.7 kB / 0.9602 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.8443, allocations: 110.4 kB / 0.9603 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.058e-05/0.8443, allocations: 80.27 kB / 0.9604 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8443, allocations: 96 / 0.9604 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002405/0.8446, allocations: 5.125 kB / 0.9604 GB, free: 1.094 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002218/0.8448, allocations: 0.8056 MB / 0.9612 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.287e-05/0.8448, allocations: 1.5 kB / 0.9612 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8448, allocations: 4 kB / 0.9612 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.8448, allocations: 0 / 0.9612 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.8452, allocations: 0.5197 MB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.8458, allocations: 0.5013 MB / 0.9622 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.8461, allocations: 0.6731 MB / 0.9629 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.066e-06/0.8461, allocations: 1.344 kB / 0.9629 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.8461, allocations: 7.438 kB / 0.9629 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of SimCode: time 1.984e-06/0.8461, allocations: 0 / 0.9629 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.8579, allocations: 0.7387 MB / 0.9636 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/0.8583, allocations: 203.9 kB / 0.9638 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.554, allocations: 0 / 0.9638 GB, free: 13.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat