Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.HeatCapacityVariableShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",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.189/2.189, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001223/0.001223, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.577/1.577, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009546/0.0009546, allocations: 89.97 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.605e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2637, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8356/1.099, allocations: 152.6 MB / 1.361 GB, free: 18.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/1.1, allocations: 86.11 kB / 1.362 GB, free: 18.74 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01099/1.111, allocations: 4.29 MB / 1.366 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.111, allocations: 0 / 1.366 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.53e-05/1.111, allocations: 3.969 kB / 1.366 GB, free: 34.07 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004542/1.111, allocations: 450.4 kB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.831e-05/1.111, allocations: 7.781 kB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/1.111, allocations: 58.09 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/1.111, allocations: 15.47 kB / 1.366 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/1.112, allocations: 253.2 kB / 1.367 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/1.112, allocations: 10.88 kB / 1.367 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/1.112, allocations: 15.84 kB / 1.367 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/1.112, allocations: 137.5 kB / 1.367 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.112, allocations: 4 kB / 1.367 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.112, allocations: 3.625 kB / 1.367 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.112, allocations: 3.906 kB / 1.367 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/1.112, allocations: 84.25 kB / 1.367 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/1.113, allocations: 0.5263 MB / 1.367 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/1.113, allocations: 149 kB / 1.367 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/1.113, allocations: 62.17 kB / 1.367 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/1.113, allocations: 3.875 kB / 1.367 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/1.113, allocations: 37.2 kB / 1.368 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/1.113, allocations: 3.938 kB / 1.368 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.000213/1.113, allocations: 125 kB / 1.368 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/1.114, allocations: 55.25 kB / 1.368 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/1.114, allocations: 143.9 kB / 1.368 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/1.114, allocations: 29.52 kB / 1.368 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/1.114, allocations: 125.4 kB / 1.368 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/1.114, allocations: 50.34 kB / 1.368 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/1.114, allocations: 3.25 kB / 1.368 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.114, allocations: 327.5 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/1.114, allocations: 38.84 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/1.114, allocations: 39.97 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.995e-05/1.114, allocations: 41.28 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.114, allocations: 4 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001753/1.114, allocations: 131.3 kB / 1.369 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.114, allocations: 7.75 kB / 1.369 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/1.114, allocations: 0 / 1.369 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/1.114, allocations: 0 / 1.369 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/1.114, allocations: 46.95 kB / 1.369 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.114, allocations: 3.969 kB / 1.369 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/1.115, allocations: 21.89 kB / 1.369 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/1.115, allocations: 7.094 kB / 1.369 GB, free: 32.2 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 5.987e-05/1.115, allocations: 112.5 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/1.115, allocations: 11.59 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/1.115, allocations: 21.77 kB / 1.369 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/1.115, allocations: 3.844 kB / 1.369 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/1.115, allocations: 0 / 1.369 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.115, allocations: 0 / 1.369 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/1.115, allocations: 250 kB / 1.369 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.115, allocations: 4 kB / 1.369 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/1.115, allocations: 47.92 kB / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.115, allocations: 0 / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/1.115, allocations: 7.594 kB / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.115, allocations: 0 / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.115, allocations: 0 / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/1.116, allocations: 281.1 kB / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/1.116, allocations: 103.7 kB / 1.369 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/1.116, allocations: 10.73 kB / 1.369 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.116, allocations: 10.5 kB / 1.369 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/1.116, allocations: 13.5 kB / 1.369 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.116, allocations: 0 / 1.369 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.01e-05/1.116, allocations: 119.7 kB / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.116, allocations: 3.938 kB / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002569/1.116, allocations: 60.28 kB / 1.37 GB, free: 31.53 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0005632/1.117, allocations: 0.8576 MB / 1.371 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001644/1.117, allocations: 100 kB / 1.371 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/1.117, allocations: 0 / 1.371 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/1.117, allocations: 52.41 kB / 1.371 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/1.117, allocations: 20.97 kB / 1.371 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/1.118, allocations: 483.7 kB / 1.371 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/1.118, allocations: 0.728 MB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.908e-05/1.118, allocations: 19.23 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/1.118, allocations: 45.98 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.118, allocations: 0 / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/1.131, allocations: 3.747 MB / 1.376 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/1.132, allocations: 194.6 kB / 1.376 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.728, allocations: 0 / 1.376 GB, free: 29.32 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat does not exist to compare? outputFormat=mat