Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_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.0008159/0.000816, allocations: 92 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.001112/0.001112, 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.443/1.443, allocations: 223.2 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.455/2.455, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6842, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001814/0.6861, allocations: 1.275 MB / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.6874, allocations: 0.8381 MB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.6875, allocations: 4 kB / 0.9832 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.6878, allocations: 47.73 kB / 0.9832 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.6882, allocations: 123.5 kB / 0.9834 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.87e-05/0.6882, allocations: 3.984 kB / 0.9834 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.6886, allocations: 322.3 kB / 0.9837 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.6887, allocations: 44.73 kB / 0.9837 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.6889, allocations: 127.4 kB / 0.9838 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.6891, allocations: 131.4 kB / 0.984 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.6892, allocations: 12 kB / 0.984 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.6919, allocations: 495.2 kB / 0.9844 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.692, allocations: 47.75 kB / 0.9845 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.6921, allocations: 77.52 kB / 0.9846 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.6927, allocations: 441.3 kB / 0.985 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.6927, allocations: 0 / 0.985 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6927, allocations: 0 / 0.985 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.6927, allocations: 0 / 0.985 GB, free: 2.289 MB / 0.7325 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.001233/0.694, allocations: 0.6108 MB / 0.9856 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.694, allocations: 8.031 kB / 0.9856 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.6941, allocations: 34.56 kB / 0.9856 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.6941, allocations: 31.62 kB / 0.9856 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.6946, allocations: 361.3 kB / 0.986 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.6947, allocations: 4 kB / 0.986 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.6947, allocations: 4 kB / 0.986 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.6949, allocations: 105 kB / 0.9861 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6949, allocations: 0 / 0.9861 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.6949, allocations: 0 / 0.9861 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.6949, allocations: 4 kB / 0.9861 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.6951, allocations: 71.88 kB / 0.9862 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.6955, allocations: 344 kB / 0.9865 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.6957, allocations: 114.4 kB / 0.9866 GB, free: 416 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.6958, allocations: 59.41 kB / 0.9867 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.6958, allocations: 3.984 kB / 0.9867 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.29e-05/0.6959, allocations: 42.56 kB / 0.9867 GB, free: 288 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.6959, allocations: 0 / 0.9867 GB, free: 288 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003484/0.6962, allocations: 189 kB / 0.9869 GB, free: 92 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/0.6964, allocations: 128.5 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/0.6971, allocations: 0.5014 MB / 0.9875 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.6971, allocations: 29.64 kB / 0.9875 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.6972, allocations: 160.3 kB / 0.9877 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.6973, allocations: 15.81 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.6973, allocations: 0.5 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6975, allocations: 354.7 kB / 0.988 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.6976, allocations: 115.9 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.6979, allocations: 182.7 kB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.698, allocations: 123.9 kB / 0.9884 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6981, allocations: 4 kB / 0.9884 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004261/0.6985, allocations: 329 kB / 0.9888 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6985, allocations: 11.95 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6985, allocations: 0 / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.6986, allocations: 4 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.6987, allocations: 15.98 kB / 0.9888 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.6987, allocations: 0 / 0.9888 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.6989, allocations: 19.83 kB / 0.9888 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.6989, allocations: 7.984 kB / 0.9888 GB, free: 14.03 MB / 0.7481 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.0001834/0.6991, allocations: 185.7 kB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.6991, allocations: 31.56 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.6995, allocations: 191.9 kB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6995, allocations: 0 / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6995, allocations: 8 kB / 0.9892 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6995, allocations: 0 / 0.9892 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.6998, allocations: 293.6 kB / 0.9895 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6998, allocations: 0 / 0.9895 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.6999, allocations: 19.92 kB / 0.9895 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6999, allocations: 0 / 0.9895 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.6999, allocations: 4 kB / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6999, allocations: 3.953 kB / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6999, allocations: 0 / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.7002, allocations: 195.1 kB / 0.9897 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.7004, allocations: 132.6 kB / 0.9898 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.7004, allocations: 4 kB / 0.9898 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.7006, allocations: 11.98 kB / 0.9898 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.7006, allocations: 7.953 kB / 0.9899 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.7006, allocations: 7.984 kB / 0.9899 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004284/0.7011, allocations: 371.1 kB / 0.9902 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7011, allocations: 7.938 kB / 0.9902 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000428/0.7015, allocations: 104 kB / 0.9903 GB, free: 12.37 MB / 0.7481 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.0007623/0.7023, allocations: 0.7588 MB / 0.9911 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.7026, allocations: 191.8 kB / 0.9912 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7026, allocations: 4 kB / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.7027, allocations: 43.91 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.7031, allocations: 57.73 kB / 0.9913 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.7066, allocations: 2.315 MB / 0.9936 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.7071, allocations: 0.8188 MB / 0.9944 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.7072, allocations: 41.92 kB / 0.9944 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.7074, allocations: 83.41 kB / 0.9945 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.164e-06/0.7074, allocations: 0 / 0.9945 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5697/1.277, allocations: 9.606 MB / 1.004 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.277, allocations: 224.2 kB / 1.004 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/3.2, allocations: 0 / 1.004 GB, free: 14.3 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat does not exist to compare? outputFormat=mat