Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.001121/0.001121, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001438/0.001438, allocations: 172.7 kB / 15.95 MB, free: 208 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.416/1.416, allocations: 223.2 MB / 240 MB, free: 5.406 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.406/2.406, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 15.98 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6301, allocations: 142.3 MB / 0.9539 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001343/0.6315, allocations: 1.345 MB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.633, allocations: 1.278 MB / 0.9564 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.6331, allocations: 7.062 kB / 0.9564 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.6334, allocations: 74.38 kB / 0.9565 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.6335, allocations: 66.64 kB / 0.9566 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.6339, allocations: 205.1 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.6341, allocations: 217.4 kB / 0.957 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.6342, allocations: 11.52 kB / 0.957 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.6343, allocations: 75.16 kB / 0.957 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.6344, allocations: 98.5 kB / 0.9571 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.6344, allocations: 9.656 kB / 0.9571 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.6348, allocations: 267.1 kB / 0.9574 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.6349, allocations: 66.75 kB / 0.9575 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.635, allocations: 60.89 kB / 0.9575 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.6353, allocations: 259.5 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6353, allocations: 0 / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6353, allocations: 0 / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6353, allocations: 0 / 0.9578 GB, free: 5.121 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006984/0.636, allocations: 0.5428 MB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.636, allocations: 9 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.6361, allocations: 32.34 kB / 0.9583 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.6361, allocations: 28.66 kB / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.6364, allocations: 270.7 kB / 0.9586 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.6365, allocations: 65.34 kB / 0.9587 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.6365, allocations: 0 / 0.9587 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.6367, allocations: 93.52 kB / 0.9588 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6367, allocations: 0 / 0.9588 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.6367, allocations: 5.312 kB / 0.9588 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6367, allocations: 3.953 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.6369, allocations: 103.6 kB / 0.9589 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.6371, allocations: 257.3 kB / 0.9591 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6384, allocations: 339.9 kB / 0.9595 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.6385, allocations: 60.52 kB / 0.9595 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.6386, allocations: 96.5 kB / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.6386, allocations: 40.12 kB / 0.9596 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.6386, allocations: 0 / 0.9596 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004424/0.6391, allocations: 218.1 kB / 0.9599 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.6391, allocations: 52.53 kB / 0.9599 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.6393, allocations: 306.6 kB / 0.9602 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.6394, allocations: 27.08 kB / 0.9602 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.6394, allocations: 120.8 kB / 0.9603 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.6395, allocations: 21.02 kB / 0.9604 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.6395, allocations: 5.375 kB / 0.9604 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.6395, allocations: 332.3 kB / 0.9607 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.6397, allocations: 163.1 kB / 0.9608 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.6399, allocations: 158 kB / 0.961 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.6402, allocations: 167 kB / 0.9611 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6402, allocations: 4 kB / 0.9611 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004953/0.6407, allocations: 393.4 kB / 0.9615 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6407, allocations: 5.406 kB / 0.9615 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6407, allocations: 2.719 kB / 0.9615 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.6407, allocations: 0 / 0.9615 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.6408, allocations: 23.67 kB / 0.9616 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.6408, allocations: 1.062 kB / 0.9616 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.6409, allocations: 37.61 kB / 0.9616 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.641, allocations: 2.25 kB / 0.9616 GB, free: 2.332 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.468e-05/0.6411, allocations: 137.7 kB / 0.9617 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.6411, allocations: 19.75 kB / 0.9617 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.6414, allocations: 171.9 kB / 0.9619 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6414, allocations: 5.672 kB / 0.9619 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6414, allocations: 4.062 kB / 0.9619 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6414, allocations: 1 kB / 0.9619 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.6416, allocations: 241.2 kB / 0.9621 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6416, allocations: 1.031 kB / 0.9621 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.6417, allocations: 20.14 kB / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6417, allocations: 0 / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.6417, allocations: 1.5 kB / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6417, allocations: 0.75 kB / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6417, allocations: 0 / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.642, allocations: 194.5 kB / 0.9624 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.6421, allocations: 104.7 kB / 0.9625 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.6421, allocations: 8.953 kB / 0.9625 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.6422, allocations: 8.344 kB / 0.9625 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.6422, allocations: 6.109 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.6423, allocations: 2.594 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001412/0.6424, allocations: 198.8 kB / 0.9627 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6424, allocations: 0 / 0.9627 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004018/0.6428, allocations: 116.5 kB / 0.9628 GB, free: 1.43 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 (6): * Single equations (assignments): 6 * 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.0006213/0.6434, allocations: 0.7957 MB / 0.9636 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.6439, allocations: 362.5 kB / 0.9639 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6439, allocations: 4 kB / 0.9639 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.644, allocations: 62.81 kB / 0.964 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.6443, allocations: 32.27 kB / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.6462, allocations: 1.527 MB / 0.9655 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.6464, allocations: 0.7328 MB / 0.9662 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.704e-05/0.6465, allocations: 26.44 kB / 0.9662 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.6466, allocations: 58.69 kB / 0.9663 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6466, allocations: 0 / 0.9663 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.364/1.011, allocations: 5.239 MB / 0.9714 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.011, allocations: 209.6 kB / 0.9716 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.523, allocations: 0 / 0.9716 GB, free: 12.18 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat does not exist to compare? outputFormat=mat