Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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.107/2.107, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001172/0.001172, allocations: 184.1 kB / 492.3 MB, free: 0.6367 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.459/1.459, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.000824/0.0008241, allocations: 97.59 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.497e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.902/1.162, allocations: 154.6 MB / 1.364 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/1.162, allocations: 85.5 kB / 1.364 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01797/1.18, allocations: 6.692 MB / 1.37 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/1.18, allocations: 0 / 1.37 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.435e-05/1.18, allocations: 7.531 kB / 1.37 GB, free: 34.26 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009341/1.181, allocations: 0.6271 MB / 1.371 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.181, allocations: 7.594 kB / 1.371 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.726e-05/1.181, allocations: 72.95 kB / 1.371 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.717e-05/1.181, allocations: 54.27 kB / 1.371 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/1.182, allocations: 324 kB / 1.371 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/1.182, allocations: 28.41 kB / 1.371 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/1.182, allocations: 38.22 kB / 1.371 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/1.182, allocations: 349.5 kB / 1.372 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.182, allocations: 0 / 1.372 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/1.182, allocations: 13.34 kB / 1.372 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.182, allocations: 11.69 kB / 1.372 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/1.183, allocations: 246.1 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/1.184, allocations: 1.462 MB / 1.373 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/1.185, allocations: 270 kB / 1.374 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/1.185, allocations: 162 kB / 1.374 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/1.185, allocations: 4.109 kB / 1.374 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/1.185, allocations: 38.05 kB / 1.374 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/1.185, allocations: 0 / 1.374 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0009712/1.186, allocations: 416.2 kB / 1.374 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/1.186, allocations: 59.19 kB / 1.374 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/1.186, allocations: 320.4 kB / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/1.186, allocations: 29.52 kB / 1.375 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.187, allocations: 222.6 kB / 1.375 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/1.187, allocations: 86.83 kB / 1.375 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/1.187, allocations: 3.688 kB / 1.375 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.187, allocations: 348.5 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.187, allocations: 79.52 kB / 1.375 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.187, allocations: 143.2 kB / 1.375 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/1.187, allocations: 101 kB / 1.375 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.187, allocations: 7.75 kB / 1.375 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009409/1.188, allocations: 455.3 kB / 1.376 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002805/1.189, allocations: 0.5281 MB / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.189, allocations: 7.844 kB / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007409/1.189, allocations: 178.7 kB / 1.377 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/1.19, allocations: 40.52 kB / 1.377 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007824/1.19, allocations: 0.7908 MB / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/1.191, allocations: 48.09 kB / 1.377 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/1.191, allocations: 18.59 kB / 1.377 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.191, allocations: 11.89 kB / 1.377 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008302/1.192, allocations: 387.5 kB / 1.378 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.192, allocations: 3.953 kB / 1.378 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/1.192, allocations: 186.6 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.192, allocations: 36.47 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/1.195, allocations: 2.365 MB / 1.38 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/1.195, allocations: 37.11 kB / 1.38 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/1.195, allocations: 14.38 kB / 1.38 GB, free: 28.95 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 17 * 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: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.195, allocations: 119 kB / 1.381 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/1.195, allocations: 42.86 kB / 1.381 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/1.196, allocations: 53.27 kB / 1.381 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.196, allocations: 3.844 kB / 1.381 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/1.196, allocations: 0 / 1.381 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.196, allocations: 3.047 kB / 1.381 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/1.196, allocations: 405.4 kB / 1.381 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.196, allocations: 4 kB / 1.381 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.196, allocations: 36.05 kB / 1.381 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/1.197, allocations: 172.8 kB / 1.381 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/1.197, allocations: 8.781 kB / 1.381 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/1.199, allocations: 2.354 MB / 1.384 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.199, allocations: 0 / 1.384 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/1.2, allocations: 0.5001 MB / 1.384 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.2, allocations: 137.7 kB / 1.384 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/1.2, allocations: 11.02 kB / 1.384 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/1.201, allocations: 23.09 kB / 1.384 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/1.201, allocations: 23.94 kB / 1.384 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.201, allocations: 7.375 kB / 1.384 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002354/1.201, allocations: 249.5 kB / 1.384 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.201, allocations: 3.938 kB / 1.384 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005694/1.202, allocations: 214.3 kB / 1.385 GB, free: 26.83 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/1.203, allocations: 1.053 MB / 1.386 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009895/1.204, allocations: 0.557 MB / 1.386 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.204, allocations: 0 / 1.386 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004072/1.204, allocations: 309 kB / 1.387 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/1.205, allocations: 96.86 kB / 1.387 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.206, allocations: 0.5462 MB / 1.387 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/1.206, allocations: 0.8198 MB / 1.388 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002305/1.206, allocations: 56.03 kB / 1.388 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/1.207, allocations: 112.4 kB / 1.388 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.207, allocations: 0 / 1.388 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/1.235, allocations: 10.87 MB / 1.399 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/1.235, allocations: 191.6 kB / 1.399 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.636, allocations: 0 / 1.399 GB, free: 20.18 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat