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.002142/0.002142, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.003157/0.003158, allocations: 177.3 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 2.8/2.8, allocations: 223.2 MB / 239.9 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.924/4.924, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005042, allocations: 16 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374/1.374, allocations: 146.8 MB / 0.9809 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003394/1.378, allocations: 1.24 MB / 0.9821 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002469/1.38, allocations: 0.8109 MB / 0.9829 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/1.38, allocations: 4 kB / 0.9829 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004375/1.381, allocations: 47.78 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006585/1.381, allocations: 127.6 kB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.125e-05/1.382, allocations: 8 kB / 0.983 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005684/1.382, allocations: 235.5 kB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/1.382, allocations: 44.73 kB / 0.9833 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/1.383, allocations: 127.4 kB / 0.9834 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/1.383, allocations: 119.5 kB / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/1.383, allocations: 12 kB / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005452/1.389, allocations: 0.5109 MB / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/1.389, allocations: 39.83 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/1.389, allocations: 77.52 kB / 0.9842 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/1.39, allocations: 441.3 kB / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.39, allocations: 0 / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.517e-06/1.39, allocations: 0 / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.691e-05/1.39, allocations: 0 / 0.9846 GB, free: 2.504 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.002538/1.393, allocations: 0.6108 MB / 0.9852 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.83e-05/1.393, allocations: 12.02 kB / 0.9852 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.796e-05/1.393, allocations: 38.56 kB / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/1.393, allocations: 27.62 kB / 0.9853 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/1.394, allocations: 361.3 kB / 0.9856 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/1.394, allocations: 3.938 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/1.394, allocations: 8 kB / 0.9856 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/1.394, allocations: 105 kB / 0.9857 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.394, allocations: 0 / 0.9857 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/1.394, allocations: 4 kB / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.394, allocations: 0 / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/1.395, allocations: 67.86 kB / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/1.395, allocations: 352 kB / 0.9861 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/1.396, allocations: 106.5 kB / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/1.396, allocations: 4 kB / 0.9862 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/1.396, allocations: 38.48 kB / 0.9863 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/1.396, allocations: 0 / 0.9863 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0005735/1.396, allocations: 185.1 kB / 0.9864 GB, free: 388 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/1.397, allocations: 137 kB / 0.9866 GB, free: 220 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.398, allocations: 0.4976 MB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/1.398, allocations: 33.7 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/1.398, allocations: 156.3 kB / 0.9872 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/1.398, allocations: 11.81 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/1.398, allocations: 0 / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003366/1.398, allocations: 346.8 kB / 0.9876 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/1.399, allocations: 115.9 kB / 0.9877 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/1.399, allocations: 182.8 kB / 0.9879 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/1.399, allocations: 135.8 kB / 0.988 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.399, allocations: 0 / 0.988 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007672/1.4, allocations: 325 kB / 0.9883 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/1.4, allocations: 4 kB / 0.9883 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.4, allocations: 3.953 kB / 0.9883 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/1.4, allocations: 4 kB / 0.9883 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/1.401, allocations: 19.98 kB / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.401, allocations: 3.938 kB / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/1.401, allocations: 27.83 kB / 0.9884 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/1.401, allocations: 8 kB / 0.9884 GB, free: 14.3 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.0003298/1.401, allocations: 177.7 kB / 0.9885 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/1.401, allocations: 35.62 kB / 0.9886 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000571/1.402, allocations: 187.9 kB / 0.9887 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.402, allocations: 7.953 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.402, allocations: 0 / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/1.402, allocations: 0 / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/1.403, allocations: 289.4 kB / 0.989 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.403, allocations: 0 / 0.989 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/1.403, allocations: 12 kB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/1.403, allocations: 7.984 kB / 0.9891 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/1.403, allocations: 12.06 kB / 0.9891 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.403, allocations: 0 / 0.9891 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/1.403, allocations: 11.89 kB / 0.9891 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/1.403, allocations: 220.3 kB / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/1.404, allocations: 136.6 kB / 0.9894 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/1.404, allocations: 4 kB / 0.9894 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/1.404, allocations: 11.98 kB / 0.9894 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/1.404, allocations: 4 kB / 0.9894 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/1.404, allocations: 3.984 kB / 0.9894 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007284/1.405, allocations: 379 kB / 0.9898 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/1.405, allocations: 0 / 0.9898 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007287/1.405, allocations: 104 kB / 0.9899 GB, free: 12.61 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.001361/1.407, allocations: 0.9976 MB / 0.9909 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005912/1.407, allocations: 199.7 kB / 0.9911 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.407, allocations: 0 / 0.9911 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/1.408, allocations: 43.91 kB / 0.9911 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/1.408, allocations: 58.53 kB / 0.9912 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/1.41, allocations: 1.452 MB / 0.9926 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/1.411, allocations: 0.8223 MB / 0.9934 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001642/1.411, allocations: 54.23 kB / 0.9934 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.411, allocations: 83.39 kB / 0.9935 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of SimCode: time 1.453e-06/1.411, allocations: 0 / 0.9935 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/1.441, allocations: 9.387 MB / 1.003 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/1.441, allocations: 230.3 kB / 1.003 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/4.446, allocations: 0 / 1.003 GB, free: 15.33 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