Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.0009728/0.0009727, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009759/0.0009759, allocations: 177.3 kB / 15.95 MB, free: 216 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.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.492/2.492, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.7759, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002098/0.7781, allocations: 1.483 MB / 0.9823 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.7792, allocations: 0.6644 MB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.7793, allocations: 0 / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.7793, allocations: 11.86 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.7796, allocations: 47.91 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.7798, allocations: 63.78 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.78, allocations: 91.81 kB / 0.9832 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.7801, allocations: 33.36 kB / 0.9832 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.7802, allocations: 39.86 kB / 0.9832 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.7804, allocations: 47.77 kB / 0.9833 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.7804, allocations: 8 kB / 0.9833 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.7805, allocations: 12 kB / 0.9833 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.7805, allocations: 11.92 kB / 0.9833 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.7805, allocations: 53.58 kB / 0.9834 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.7807, allocations: 78.03 kB / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7807, allocations: 0 / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7807, allocations: 0 / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.7807, allocations: 0 / 0.9834 GB, free: 3.602 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006475/0.7813, allocations: 399 kB / 0.9838 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.7814, allocations: 8.031 kB / 0.9838 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/0.7815, allocations: 46.55 kB / 0.9839 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.7815, allocations: 11.91 kB / 0.9839 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.7818, allocations: 199.3 kB / 0.9841 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.7819, allocations: 4 kB / 0.9841 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.7819, allocations: 11.98 kB / 0.9841 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.7822, allocations: 101.5 kB / 0.9842 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7822, allocations: 0 / 0.9842 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.7822, allocations: 4 kB / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.7822, allocations: 0 / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.7825, allocations: 79.88 kB / 0.9843 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006593/0.7831, allocations: 368.5 kB / 0.9846 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.7834, allocations: 54.55 kB / 0.9847 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.7834, allocations: 4 kB / 0.9847 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.7835, allocations: 34.56 kB / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.7835, allocations: 0 / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004189/0.7839, allocations: 117.8 kB / 0.9848 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.7839, allocations: 55.36 kB / 0.9849 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.7841, allocations: 148.7 kB / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.7841, allocations: 25.7 kB / 0.985 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.7842, allocations: 115.9 kB / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.7843, allocations: 15.83 kB / 0.9852 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.7843, allocations: 0 / 0.9852 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7845, allocations: 322.8 kB / 0.9855 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.7846, allocations: 23.97 kB / 0.9855 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-05/0.7847, allocations: 23.98 kB / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.584e-05/0.7848, allocations: 27.98 kB / 0.9855 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7848, allocations: 0 / 0.9855 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002297/0.785, allocations: 97.44 kB / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.872e-05/0.7851, allocations: 101 kB / 0.9857 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7851, allocations: 3.953 kB / 0.9857 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7851, allocations: 4 kB / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.7852, allocations: 11.94 kB / 0.9858 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7852, allocations: 3.984 kB / 0.9858 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.7853, allocations: 11.91 kB / 0.9858 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.7853, allocations: 0 / 0.9858 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/0.7853, allocations: 5.719 kB / 0.9858 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001783/0.7855, allocations: 60.28 kB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.7855, allocations: 0 / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-06/0.7856, allocations: 4 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.7856, allocations: 15.92 kB / 0.9859 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-06/0.7857, allocations: 4 kB / 0.9859 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.7857, allocations: 11.98 kB / 0.9859 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-06/0.7857, allocations: 48 / 0.9859 GB, free: 0.8867 MB / 0.7325 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 (4): * Single equations (assignments): 4 * 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 0.0001284/0.7859, allocations: 198.5 kB / 0.9861 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.7859, allocations: 11.89 kB / 0.9861 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.7862, allocations: 93.89 kB / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7862, allocations: 0 / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7862, allocations: 4 kB / 0.9862 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7862, allocations: 0 / 0.9862 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.7864, allocations: 193.5 kB / 0.9863 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7864, allocations: 0 / 0.9863 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.7865, allocations: 15.94 kB / 0.9864 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7865, allocations: 4 kB / 0.9864 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.7865, allocations: 3.984 kB / 0.9864 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7865, allocations: 8 kB / 0.9864 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7865, allocations: 0 / 0.9864 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.7868, allocations: 183.4 kB / 0.9866 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.7868, allocations: 89 kB / 0.9866 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.7869, allocations: 0 / 0.9866 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.787, allocations: 12.08 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.787, allocations: 3.984 kB / 0.9867 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.7871, allocations: 0 / 0.9867 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.902e-05/0.7872, allocations: 124.7 kB / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.7872, allocations: 3.938 kB / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003019/0.7875, allocations: 39.91 kB / 0.9868 GB, free: 15.82 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 (3): * Single equations (assignments): 3 * 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.0006698/0.7882, allocations: 0.724 MB / 0.9875 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.7885, allocations: 83.92 kB / 0.9876 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7885, allocations: 7.938 kB / 0.9876 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.7886, allocations: 23.98 kB / 0.9876 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.7889, allocations: 23.92 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.7901, allocations: 0.6676 MB / 0.9883 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.7903, allocations: 0.7004 MB / 0.989 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.568e-05/0.7904, allocations: 12.84 kB / 0.989 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.7905, allocations: 19.44 kB / 0.989 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.7905, allocations: 4 kB / 0.989 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.8026, allocations: 2.335 MB / 0.9913 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.8029, allocations: 210.6 kB / 0.9915 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.416, allocations: 0 / 0.9915 GB, free: 11.07 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat does not exist to compare? outputFormat=mat