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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001726/0.001726, allocations: 177.3 kB / 15.94 MB, free: 228 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.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.521/2.521, allocations: 409.2 MB / 0.6838 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003785, allocations: 8 kB / 0.8375 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7651, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003006/0.7682, allocations: 2.427 MB / 0.9832 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.7695, allocations: 0.768 MB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.7696, allocations: 4 kB / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.7698, allocations: 39.62 kB / 0.984 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.7701, allocations: 143.6 kB / 0.9842 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.7704, allocations: 123.7 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.7709, allocations: 344.2 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.7712, allocations: 161.7 kB / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.7714, allocations: 159.4 kB / 0.9849 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.7717, allocations: 179.1 kB / 0.9851 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.7717, allocations: 20 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.7718, allocations: 16 kB / 0.9851 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.7719, allocations: 67.67 kB / 0.9852 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.233e-05/0.772, allocations: 97.45 kB / 0.9853 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.7723, allocations: 313.4 kB / 0.9856 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.7723, allocations: 0 / 0.9856 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7723, allocations: 0 / 0.9856 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.7723, allocations: 0 / 0.9856 GB, free: 1.477 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001239/0.7736, allocations: 0.6781 MB / 0.9862 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.7736, allocations: 8.031 kB / 0.9863 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.439e-05/0.7737, allocations: 74.53 kB / 0.9863 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.7738, allocations: 55.38 kB / 0.9864 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.7742, allocations: 306.2 kB / 0.9867 GB, free: 276 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.7742, allocations: 25 kB / 0.9867 GB, free: 252 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.7743, allocations: 32 kB / 0.9867 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.7749, allocations: 388.8 kB / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.775, allocations: 0 / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.775, allocations: 12 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.775, allocations: 8 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.7756, allocations: 282.4 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.7774, allocations: 1.456 MB / 0.9888 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.778, allocations: 288.9 kB / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.7781, allocations: 240 / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.7781, allocations: 38.8 kB / 0.9891 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.7781, allocations: 0 / 0.9891 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27): time 0.003081/0.7812, allocations: 0.8878 MB / 0.99 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.7812, allocations: 59.41 kB / 0.99 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.7816, allocations: 365.6 kB / 0.9904 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.7817, allocations: 29.7 kB / 0.9904 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.7818, allocations: 208.2 kB / 0.9906 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.7819, allocations: 98.58 kB / 0.9907 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.7819, allocations: 4 kB / 0.9907 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.782, allocations: 350.8 kB / 0.991 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.7823, allocations: 104.5 kB / 0.9911 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.7825, allocations: 163.9 kB / 0.9913 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.7828, allocations: 112 kB / 0.9914 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7828, allocations: 0 / 0.9914 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001109/0.7839, allocations: 493.5 kB / 0.9919 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.7841, allocations: 0.5319 MB / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7842, allocations: 0 / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007892/0.7849, allocations: 184.7 kB / 0.9926 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.7851, allocations: 35.92 kB / 0.9926 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.7885, allocations: 2.535 MB / 0.9951 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.7889, allocations: 47.62 kB / 0.9951 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.7889, allocations: 12 kB / 0.9951 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.7889, allocations: 0 / 0.9951 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001071/0.79, allocations: 445.6 kB / 0.9956 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.79, allocations: 0 / 0.9956 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/0.7906, allocations: 186.6 kB / 0.9957 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.7908, allocations: 47.94 kB / 0.9958 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.7937, allocations: 2.428 MB / 0.9982 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.7941, allocations: 43.73 kB / 0.9982 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.7941, allocations: 12 kB / 0.9982 GB, free: 3.922 MB / 0.7481 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 () * Number of clocked 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.0002093/0.7943, allocations: 232.9 kB / 0.9984 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.7944, allocations: 39.53 kB / 0.9985 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.7945, allocations: 44.16 kB / 0.9985 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7945, allocations: 4 kB / 0.9985 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7945, allocations: 4 kB / 0.9985 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.7945, allocations: 3.984 kB / 0.9985 GB, free: 3.582 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.795, allocations: 417.6 kB / 0.9989 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.795, allocations: 3.938 kB / 0.9989 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.7951, allocations: 27.98 kB / 0.999 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/0.7958, allocations: 174.4 kB / 0.9991 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.7958, allocations: 4 kB / 0.9991 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/0.7986, allocations: 2.441 MB / 1.002 GB, free: 356 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7986, allocations: 3.984 kB / 1.002 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.7997, allocations: 0.5433 MB / 1.002 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.7999, allocations: 140.5 kB / 1.002 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.8, allocations: 4 kB / 1.002 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.8003, allocations: 23.89 kB / 1.002 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.8003, allocations: 19.97 kB / 1.002 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.8004, allocations: 15.94 kB / 1.002 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002528/0.8006, allocations: 259.2 kB / 1.002 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8006, allocations: 0 / 1.002 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008138/0.8014, allocations: 251.7 kB / 1.003 GB, free: 15.06 MB / 0.7637 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 (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.001358/0.8028, allocations: 1.092 MB / 1.004 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.8042, allocations: 0.7711 MB / 1.005 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8042, allocations: 4 kB / 1.005 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.8047, allocations: 326.7 kB / 1.005 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.8052, allocations: 89.39 kB / 1.005 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.809, allocations: 3.006 MB / 1.008 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.8094, allocations: 0.8233 MB / 1.009 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.8096, allocations: 35.27 kB / 1.009 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.8097, allocations: 115.4 kB / 1.009 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of SimCode: time 4.21e-07/0.8097, allocations: 0 / 1.009 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.834, allocations: 11.1 MB / 1.02 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.8343, allocations: 229.3 kB / 1.02 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.755, allocations: 4 kB / 1.02 GB, free: 13.58 MB / 0.7794 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) Environment - environmentSimulation: 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