Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.0008339/0.0008342, allocations: 91.84 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.0008502/0.0008502, 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.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.502/2.502, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 11.98 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8325, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002028/0.8346, allocations: 1.314 MB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.8355, allocations: 447.3 kB / 0.9828 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.208e-05/0.8356, allocations: 0 / 0.9828 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.8357, allocations: 7.938 kB / 0.9828 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.8358, allocations: 47.62 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.836, allocations: 27.97 kB / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.8362, allocations: 127.3 kB / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.8364, allocations: 23.98 kB / 0.9831 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.8365, allocations: 59.77 kB / 0.9831 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.8367, allocations: 43.83 kB / 0.9832 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.8367, allocations: 4 kB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.8367, allocations: 4 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.8367, allocations: 11.94 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.8368, allocations: 49.62 kB / 0.9832 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.8369, allocations: 74.05 kB / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8369, allocations: 0 / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8369, allocations: 4 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.837, allocations: 4 kB / 0.9833 GB, free: 4.008 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000564/0.8375, allocations: 387 kB / 0.9837 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8376, allocations: 8.031 kB / 0.9837 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.8376, allocations: 38.56 kB / 0.9837 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.8377, allocations: 7.906 kB / 0.9837 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.838, allocations: 198.8 kB / 0.9839 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.838, allocations: 4 kB / 0.9839 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.838, allocations: 12 kB / 0.9839 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.8382, allocations: 69.62 kB / 0.984 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.8382, allocations: 0 / 0.984 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8382, allocations: 4 kB / 0.984 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.8382, allocations: 4 kB / 0.984 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.8383, allocations: 35.92 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.839, allocations: 491.3 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.8393, allocations: 155.6 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.8394, allocations: 24.86 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.8394, allocations: 0 / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.8394, allocations: 34.59 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.8394, allocations: 0 / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0005397/0.84, allocations: 199.5 kB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.84, allocations: 63.23 kB / 0.985 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.8402, allocations: 164.2 kB / 0.9851 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.8402, allocations: 29.7 kB / 0.9852 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.8403, allocations: 108 kB / 0.9853 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.8403, allocations: 19.75 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-06/0.8403, allocations: 0 / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8404, allocations: 322.8 kB / 0.9856 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.8404, allocations: 8 kB / 0.9856 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.332e-05/0.8405, allocations: 38.56 kB / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.8406, allocations: 20.03 kB / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8406, allocations: 0 / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002036/0.8408, allocations: 94.38 kB / 0.9857 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8408, allocations: 4 kB / 0.9857 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8408, allocations: 0 / 0.9857 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.841, allocations: 28.8 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.133e-05/0.8411, allocations: 7.984 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.8422, allocations: 1.296 MB / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.8423, allocations: 16.08 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.8423, allocations: 8 kB / 0.9871 GB, free: 15.72 MB / 0.7481 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 (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.8424, allocations: 120.8 kB / 0.9872 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.8425, allocations: 7.906 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.8425, allocations: 12.2 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8425, allocations: 4 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8425, allocations: 0 / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8425, allocations: 3.984 kB / 0.9872 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.843, allocations: 359.5 kB / 0.9875 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.843, allocations: 0 / 0.9875 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.843, allocations: 4.047 kB / 0.9876 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.724e-05/0.8431, allocations: 28.81 kB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.8431, allocations: 4 kB / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.8442, allocations: 1.3 MB / 0.9889 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8442, allocations: 3.984 kB / 0.9889 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.8444, allocations: 188.4 kB / 0.989 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.8445, allocations: 81.02 kB / 0.9891 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.8445, allocations: 3.984 kB / 0.9891 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.8446, allocations: 8 kB / 0.9891 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.8446, allocations: 3.938 kB / 0.9891 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.8446, allocations: 4 kB / 0.9891 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.21e-05/0.8447, allocations: 122 kB / 0.9892 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8447, allocations: 0 / 0.9892 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002693/0.845, allocations: 40 kB / 0.9893 GB, free: 13.2 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): 2 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005892/0.8456, allocations: 0.7131 MB / 0.99 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.8459, allocations: 158.6 kB / 0.9901 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8459, allocations: 0 / 0.9901 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.8461, allocations: 134.6 kB / 0.9903 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.8465, allocations: 33.11 kB / 0.9903 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.8476, allocations: 0.6482 MB / 0.9909 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.8478, allocations: 0.697 MB / 0.9916 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.199e-05/0.8479, allocations: 21.05 kB / 0.9916 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.848, allocations: 23.44 kB / 0.9916 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.848, allocations: 0 / 0.9916 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.8648, allocations: 2.821 MB / 0.9944 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.8651, allocations: 227.5 kB / 0.9946 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.656, allocations: 3.938 kB / 0.9946 GB, free: 7.758 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat does not exist to compare? outputFormat=mat