Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",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.000996/0.0009959, allocations: 86.72 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.001235/0.001235, 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.446/1.446, 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 10.0.0-master/package.mo): time 2.553/2.553, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005442, allocations: 12 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7088, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001703/0.7106, allocations: 1.3 MB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003458/0.7141, allocations: 3.056 MB / 0.9854 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.7142, allocations: 0 / 0.9854 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.7142, allocations: 0 / 0.9854 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.7143, allocations: 19.84 kB / 0.9854 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.7147, allocations: 83.67 kB / 0.9855 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.7148, allocations: 71.72 kB / 0.9856 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.7148, allocations: 12.16 kB / 0.9856 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.715, allocations: 31.86 kB / 0.9856 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.715, allocations: 31.91 kB / 0.9856 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.7151, allocations: 4 kB / 0.9856 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.7153, allocations: 79.8 kB / 0.9857 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.7153, allocations: 11.98 kB / 0.9857 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.7154, allocations: 37.64 kB / 0.9858 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.7155, allocations: 74.11 kB / 0.9858 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7156, allocations: 0 / 0.9858 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7156, allocations: 0 / 0.9858 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.7156, allocations: 0 / 0.9858 GB, free: 1.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005481/0.7161, allocations: 387.1 kB / 0.9862 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.7162, allocations: 8.031 kB / 0.9862 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.7162, allocations: 34.56 kB / 0.9862 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.7163, allocations: 7.906 kB / 0.9863 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.7164, allocations: 186.8 kB / 0.9864 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.7164, allocations: 0 / 0.9864 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.7164, allocations: 4 kB / 0.9864 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.7166, allocations: 81.66 kB / 0.9865 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7167, allocations: 4 kB / 0.9865 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7167, allocations: 0 / 0.9865 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7167, allocations: 0 / 0.9865 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.7169, allocations: 91.86 kB / 0.9866 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.7174, allocations: 332.7 kB / 0.9869 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.7176, allocations: 98.58 kB / 0.987 GB, free: 60 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.7177, allocations: 44.84 kB / 0.9871 GB, free: 12 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007653/0.7185, allocations: 0.7487 MB / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.7185, allocations: 38.78 kB / 0.9878 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.7186, allocations: 0 / 0.9878 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.0004206/0.719, allocations: 145.6 kB / 0.988 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.719, allocations: 55.39 kB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.7191, allocations: 121.8 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.7191, allocations: 25.7 kB / 0.9882 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.7192, allocations: 92.12 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.7192, allocations: 31.55 kB / 0.9883 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-06/0.7193, allocations: 4 kB / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.7194, allocations: 314.8 kB / 0.9886 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.978e-05/0.7195, allocations: 35.98 kB / 0.9886 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.7196, allocations: 49.64 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.196e-05/0.7197, allocations: 43.98 kB / 0.9887 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7197, allocations: 0 / 0.9887 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002307/0.7199, allocations: 113.6 kB / 0.9888 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7199, allocations: 13.34 kB / 0.9888 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7199, allocations: 0 / 0.9888 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.72, allocations: 7.938 kB / 0.9888 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.7201, allocations: 24.02 kB / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.7201, allocations: 4 kB / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.7202, allocations: 4 kB / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.7202, allocations: 4 kB / 0.9889 GB, free: 13.97 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 8.423e-05/0.7203, allocations: 121.8 kB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.7203, allocations: 3.906 kB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.7206, allocations: 146 kB / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7207, allocations: 0 / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7207, allocations: 3.953 kB / 0.9891 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7207, allocations: 0 / 0.9891 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.7209, allocations: 189.6 kB / 0.9893 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7209, allocations: 0 / 0.9893 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.721, allocations: 23.98 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.721, allocations: 0 / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.721, allocations: 0 / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.721, allocations: 4 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.721, allocations: 480 / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.7213, allocations: 219.3 kB / 0.9895 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.7214, allocations: 81.02 kB / 0.9896 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.7214, allocations: 8 kB / 0.9896 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.7215, allocations: 7.984 kB / 0.9896 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.7215, allocations: 4 kB / 0.9896 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.7216, allocations: 3.984 kB / 0.9896 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.7216, allocations: 99.66 kB / 0.9897 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7216, allocations: 4 kB / 0.9897 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002695/0.7219, allocations: 24 kB / 0.9898 GB, free: 12.95 MB / 0.7481 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 (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.0006593/0.7226, allocations: 0.763 MB / 0.9905 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.7228, allocations: 79.95 kB / 0.9906 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7228, allocations: 0 / 0.9906 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.723, allocations: 55.97 kB / 0.9906 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.7233, allocations: 5.719 kB / 0.9906 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.7238, allocations: 295.1 kB / 0.9909 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.7241, allocations: 0.6887 MB / 0.9916 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.772e-05/0.7242, allocations: 12.11 kB / 0.9916 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.7242, allocations: 23.42 kB / 0.9916 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.7242, allocations: 4 kB / 0.9916 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.7375, allocations: 1.965 MB / 0.9936 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.7378, allocations: 203.6 kB / 0.9938 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.513, allocations: 0 / 0.9938 GB, free: 8.926 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat does not exist to compare? outputFormat=mat