Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 387.1 MB / 399.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009798/0.0009793, allocations: 176.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008092/0.0008092, allocations: 86.56 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.548e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2377, allocations: 142.4 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7774/1.015, allocations: 152.9 MB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.016, allocations: 85.88 kB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01813/1.034, allocations: 6.965 MB / 1.369 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.834e-06/1.034, allocations: 1.641 kB / 1.369 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.146e-05/1.034, allocations: 11.66 kB / 1.369 GB, free: 34.12 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0005916/1.034, allocations: 0.5414 MB / 1.369 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.034, allocations: 7.812 kB / 1.369 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.89e-05/1.034, allocations: 75.61 kB / 1.369 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/1.035, allocations: 46.67 kB / 1.369 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/1.035, allocations: 314.3 kB / 1.37 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/1.035, allocations: 22.44 kB / 1.37 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/1.035, allocations: 33.53 kB / 1.37 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/1.035, allocations: 357.6 kB / 1.37 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/1.035, allocations: 3.906 kB / 1.37 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/1.035, allocations: 14.31 kB / 1.37 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/1.036, allocations: 11.56 kB / 1.37 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/1.036, allocations: 213.2 kB / 1.37 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/1.037, allocations: 1.486 MB / 1.372 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/1.037, allocations: 285.3 kB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/1.037, allocations: 105.8 kB / 1.372 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/1.037, allocations: 7.094 kB / 1.372 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/1.038, allocations: 41.81 kB / 1.372 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/1.038, allocations: 0 / 1.372 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.000364/1.038, allocations: 208.7 kB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.038, allocations: 135.5 kB / 1.373 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/1.038, allocations: 208.7 kB / 1.373 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.038, allocations: 33.14 kB / 1.373 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/1.038, allocations: 196.6 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/1.038, allocations: 115.7 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/1.038, allocations: 7.125 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/1.038, allocations: 340.7 kB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/1.039, allocations: 68.41 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/1.039, allocations: 144 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/1.039, allocations: 84.53 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.039, allocations: 7.828 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003412/1.039, allocations: 298.8 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.039, allocations: 8.719 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.039, allocations: 3.844 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.039, allocations: 3.938 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/1.04, allocations: 84 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.04, allocations: 7.688 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.04, allocations: 41.11 kB / 1.374 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/1.04, allocations: 19.22 kB / 1.374 GB, free: 30.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 6.941e-05/1.04, allocations: 123.4 kB / 1.374 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/1.04, allocations: 31.05 kB / 1.374 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/1.04, allocations: 29.92 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.04, allocations: 3.844 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.04, allocations: 4.031 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.04, allocations: 2.578 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/1.04, allocations: 351.8 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.04, allocations: 10.7 kB / 1.375 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/1.041, allocations: 85.44 kB / 1.375 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.041, allocations: 3.875 kB / 1.375 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/1.041, allocations: 7 kB / 1.375 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.041, allocations: 0 / 1.375 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.041, allocations: 3.875 kB / 1.375 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/1.041, allocations: 0.6572 MB / 1.375 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/1.041, allocations: 125 kB / 1.376 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/1.041, allocations: 8.281 kB / 1.376 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/1.042, allocations: 14.5 kB / 1.376 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/1.042, allocations: 20.08 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/1.042, allocations: 14.86 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001128/1.042, allocations: 168.6 kB / 1.376 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.042, allocations: 0 / 1.376 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004297/1.042, allocations: 111.1 kB / 1.376 GB, free: 29.94 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.T,heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0008214/1.043, allocations: 1.445 MB / 1.377 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002734/1.043, allocations: 191.2 kB / 1.377 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.043, allocations: 0 / 1.377 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.972e-05/1.043, allocations: 95.47 kB / 1.378 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/1.044, allocations: 39.64 kB / 1.378 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/1.045, allocations: 1.095 MB / 1.379 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/1.046, allocations: 0.7961 MB / 1.379 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001205/1.046, allocations: 36.38 kB / 1.379 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/1.046, allocations: 104.1 kB / 1.38 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.046, allocations: 0 / 1.38 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/1.062, allocations: 6 MB / 1.385 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/1.062, allocations: 188.5 kB / 1.386 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/3.011, allocations: 4 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat does not exist to compare? outputFormat=mat