Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.001082/0.001082, 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.00136/0.00136, 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.462/1.462, allocations: 223.2 MB / 240 MB, free: 5.449 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.429/2.429, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003601, allocations: 11.98 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7582, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001768/0.76, allocations: 1.266 MB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.7613, allocations: 0.8346 MB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.7615, allocations: 6.062 kB / 0.9559 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.7617, allocations: 53.88 kB / 0.9559 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.7622, allocations: 117.6 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.405e-05/0.7622, allocations: 9.078 kB / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.7626, allocations: 327.2 kB / 0.9564 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.887e-05/0.7626, allocations: 45.36 kB / 0.9564 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.7628, allocations: 127.4 kB / 0.9565 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.763, allocations: 127.1 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.763, allocations: 11.81 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.7658, allocations: 495.9 kB / 0.9571 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.7659, allocations: 43.45 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.766, allocations: 72.05 kB / 0.9573 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.7665, allocations: 449.3 kB / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7665, allocations: 0 / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7665, allocations: 0 / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.7665, allocations: 0 / 0.9577 GB, free: 5.375 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001022/0.7675, allocations: 0.6128 MB / 0.9583 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7676, allocations: 9.625 kB / 0.9583 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.7676, allocations: 30.56 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.7677, allocations: 34.7 kB / 0.9584 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.7681, allocations: 363 kB / 0.9587 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.7681, allocations: 6.844 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.7681, allocations: 7.781 kB / 0.9587 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.7683, allocations: 97.88 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.7683, allocations: 0 / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7683, allocations: 5.625 kB / 0.9588 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7683, allocations: 0 / 0.9588 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.7684, allocations: 72.44 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.7687, allocations: 347.8 kB / 0.9592 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.134e-05/0.7688, allocations: 104.3 kB / 0.9593 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.7689, allocations: 71.17 kB / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.7689, allocations: 1.156 kB / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.7689, allocations: 36.81 kB / 0.9594 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.7689, allocations: 0 / 0.9594 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003094/0.7692, allocations: 181.7 kB / 0.9596 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.7693, allocations: 137.5 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.7698, allocations: 0.5011 MB / 0.9602 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.7698, allocations: 31.08 kB / 0.9602 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.7699, allocations: 155.5 kB / 0.9604 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.77, allocations: 17.69 kB / 0.9604 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.77, allocations: 8.938 kB / 0.9604 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.77, allocations: 344 kB / 0.9607 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.7702, allocations: 117.9 kB / 0.9609 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.7704, allocations: 182 kB / 0.961 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.7706, allocations: 129.6 kB / 0.9612 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7706, allocations: 1.188 kB / 0.9612 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000419/0.771, allocations: 327.7 kB / 0.9615 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.771, allocations: 5.875 kB / 0.9615 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.771, allocations: 1.094 kB / 0.9615 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.771, allocations: 1.156 kB / 0.9615 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.7712, allocations: 17.44 kB / 0.9615 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.7712, allocations: 9.203 kB / 0.9615 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.7714, allocations: 24.3 kB / 0.9615 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.7714, allocations: 8.797 kB / 0.9615 GB, free: 2.164 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.000141/0.7715, allocations: 183.4 kB / 0.9617 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.7716, allocations: 34.39 kB / 0.9617 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.7719, allocations: 180.3 kB / 0.9619 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7719, allocations: 2.219 kB / 0.9619 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7719, allocations: 1.031 kB / 0.9619 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7719, allocations: 5.422 kB / 0.9619 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.7722, allocations: 288.2 kB / 0.9622 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7722, allocations: 6.125 kB / 0.9622 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.7723, allocations: 19.67 kB / 0.9622 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.7723, allocations: 1 kB / 0.9622 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.7723, allocations: 6 kB / 0.9622 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7723, allocations: 1 kB / 0.9622 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7723, allocations: 5.031 kB / 0.9622 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.7725, allocations: 201.1 kB / 0.9624 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.7727, allocations: 135.3 kB / 0.9626 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.7727, allocations: 2.156 kB / 0.9626 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.7728, allocations: 9.516 kB / 0.9626 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.7729, allocations: 7.672 kB / 0.9626 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.7729, allocations: 6.312 kB / 0.9626 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003941/0.7733, allocations: 386.7 kB / 0.9629 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7733, allocations: 5.062 kB / 0.9629 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000525/0.7738, allocations: 99.81 kB / 0.963 GB, free: 1.023 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0006572/0.7745, allocations: 0.7569 MB / 0.9638 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.7748, allocations: 195.9 kB / 0.964 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7749, allocations: 0 / 0.964 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.7749, allocations: 46.16 kB / 0.964 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.7753, allocations: 55.59 kB / 0.9641 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.7787, allocations: 2.323 MB / 0.9663 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.779, allocations: 0.8188 MB / 0.9671 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000157/0.7792, allocations: 39.41 kB / 0.9672 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.7794, allocations: 86.55 kB / 0.9673 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of SimCode: time 6.92e-07/0.7794, allocations: 1.094 kB / 0.9673 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.8145, allocations: 9.589 MB / 0.9766 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.8148, allocations: 222 kB / 0.9768 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.638, allocations: 0 / 0.9768 GB, free: 8.215 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat does not exist to compare? outputFormat=mat