Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.111/2.111, allocations: 390.3 MB / 402.8 MB, free: 6.746 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.001681/0.001681, allocations: 172.9 kB / 496.1 MB, free: 12.91 MB / 410.7 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: 221.3 MB / 0.7915 GB, free: 5.469 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.001246/0.001246, allocations: 99.88 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.705e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2661, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9051/1.171, allocations: 155.5 MB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.172, allocations: 83.86 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02088/1.193, allocations: 6.686 MB / 1.377 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.564e-06/1.193, allocations: 4 kB / 1.377 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.399e-05/1.193, allocations: 12 kB / 1.377 GB, free: 8.871 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.001452/1.194, allocations: 0.6235 MB / 1.378 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/1.194, allocations: 12.03 kB / 1.378 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/1.194, allocations: 68.77 kB / 1.378 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/1.195, allocations: 58.52 kB / 1.378 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/1.195, allocations: 317 kB / 1.378 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/1.195, allocations: 29.53 kB / 1.378 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/1.195, allocations: 34.25 kB / 1.378 GB, free: 7.734 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/1.196, allocations: 352.1 kB / 1.379 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.196, allocations: 3.984 kB / 1.379 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/1.196, allocations: 20.38 kB / 1.379 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/1.196, allocations: 8 kB / 1.379 GB, free: 7.445 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/1.197, allocations: 247 kB / 1.379 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/1.199, allocations: 1.456 MB / 1.38 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/1.2, allocations: 266 kB / 1.381 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/1.2, allocations: 170.7 kB / 1.381 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/1.2, allocations: 4.234 kB / 1.381 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/1.2, allocations: 38.8 kB / 1.381 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 2.355e-06/1.2, allocations: 0 / 1.381 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.001209/1.202, allocations: 413.5 kB / 1.381 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.202, allocations: 58.78 kB / 1.381 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/1.202, allocations: 314.9 kB / 1.382 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/1.202, allocations: 29.02 kB / 1.382 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/1.202, allocations: 213.4 kB / 1.382 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/1.202, allocations: 95.34 kB / 1.382 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/1.202, allocations: 6.312 kB / 1.382 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.203, allocations: 351.8 kB / 1.382 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/1.203, allocations: 78.73 kB / 1.382 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/1.203, allocations: 145.2 kB / 1.383 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/1.203, allocations: 99.67 kB / 1.383 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.203, allocations: 7.938 kB / 1.383 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001072/1.204, allocations: 460.1 kB / 1.383 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002838/1.205, allocations: 0.5336 MB / 1.384 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/1.205, allocations: 0 / 1.384 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/1.205, allocations: 179 kB / 1.384 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/1.206, allocations: 42.72 kB / 1.384 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009007/1.207, allocations: 0.7924 MB / 1.385 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/1.207, allocations: 46.84 kB / 1.385 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/1.207, allocations: 15.8 kB / 1.385 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.207, allocations: 4 kB / 1.385 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009813/1.208, allocations: 390.5 kB / 1.385 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.208, allocations: 7.984 kB / 1.385 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/1.209, allocations: 179.6 kB / 1.385 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/1.209, allocations: 39.91 kB / 1.385 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/1.212, allocations: 2.354 MB / 1.388 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/1.213, allocations: 39.58 kB / 1.388 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/1.213, allocations: 11.81 kB / 1.388 GB, free: 15.64 MB / 0.8542 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.0001531/1.213, allocations: 121.5 kB / 1.388 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/1.213, allocations: 43.55 kB / 1.388 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/1.213, allocations: 48.91 kB / 1.388 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.213, allocations: 7.984 kB / 1.388 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.213, allocations: 0 / 1.388 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.213, allocations: 3.938 kB / 1.388 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/1.214, allocations: 409.2 kB / 1.388 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.214, allocations: 3.984 kB / 1.388 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/1.214, allocations: 31.88 kB / 1.388 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006768/1.215, allocations: 178.3 kB / 1.388 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/1.215, allocations: 7.438 kB / 1.388 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/1.218, allocations: 2.362 MB / 1.391 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.218, allocations: 3.938 kB / 1.391 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/1.219, allocations: 0.5031 MB / 1.391 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/1.219, allocations: 141.6 kB / 1.391 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/1.219, allocations: 2.812 kB / 1.391 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/1.22, allocations: 19.11 kB / 1.391 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/1.22, allocations: 23.77 kB / 1.391 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/1.22, allocations: 7.938 kB / 1.391 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002685/1.22, allocations: 255.2 kB / 1.392 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.22, allocations: 0 / 1.392 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006144/1.221, allocations: 212 kB / 1.392 GB, free: 11.82 MB / 0.8542 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.001285/1.222, allocations: 1.054 MB / 1.393 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001082/1.223, allocations: 0.5648 MB / 1.393 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.223, allocations: 0 / 1.393 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/1.223, allocations: 302.8 kB / 1.394 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/1.224, allocations: 88.47 kB / 1.394 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/1.225, allocations: 0.5513 MB / 1.394 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/1.226, allocations: 0.8159 MB / 1.395 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002137/1.226, allocations: 51.25 kB / 1.395 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/1.226, allocations: 113.6 kB / 1.395 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of SimCode: time 3e-07/1.226, allocations: 4 kB / 1.395 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/1.252, allocations: 10.86 MB / 1.406 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/1.252, allocations: 208.4 kB / 1.406 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.593, allocations: 3 kB / 1.406 GB, free: 13.8 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat