Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.0009689/0.0009689, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001234/0.001234, allocations: 172.7 kB / 15.95 MB, free: 208 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.523/1.523, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.572/2.572, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007023/0.0007024, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7908, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001955/0.7928, allocations: 1.175 MB / 0.9823 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.7942, allocations: 0.6745 MB / 0.9829 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.7943, allocations: 7.938 kB / 0.9829 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.7943, allocations: 0 / 0.9829 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.7944, allocations: 7.875 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.795, allocations: 99.81 kB / 0.9831 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.7951, allocations: 75.77 kB / 0.9831 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.7953, allocations: 7.984 kB / 0.9831 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.7954, allocations: 31.84 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.7955, allocations: 35.89 kB / 0.9832 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.7955, allocations: 4 kB / 0.9832 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.7957, allocations: 83.84 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.7958, allocations: 11.98 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.7958, allocations: 37.64 kB / 0.9833 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.7961, allocations: 110.1 kB / 0.9834 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7961, allocations: 0 / 0.9834 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7961, allocations: 0 / 0.9834 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.7961, allocations: 0 / 0.9834 GB, free: 3.852 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007316/0.7968, allocations: 404.8 kB / 0.9838 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.7969, allocations: 15.97 kB / 0.9838 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.797, allocations: 34.56 kB / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.797, allocations: 7.906 kB / 0.9839 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.7972, allocations: 179 kB / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.7972, allocations: 4 kB / 0.984 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.7973, allocations: 4 kB / 0.9841 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.7975, allocations: 81.48 kB / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.7975, allocations: 0 / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.7975, allocations: 0 / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.7975, allocations: 0 / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.7977, allocations: 47.97 kB / 0.9842 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.7983, allocations: 320.7 kB / 0.9845 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.7985, allocations: 58.48 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.248e-05/0.7986, allocations: 36.95 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.7986, allocations: 4 kB / 0.9846 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.7988, allocations: 79.38 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.7988, allocations: 0 / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004164/0.7993, allocations: 149.5 kB / 0.9848 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.7993, allocations: 51.41 kB / 0.9848 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.7994, allocations: 121.8 kB / 0.985 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.7995, allocations: 33.7 kB / 0.985 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.7995, allocations: 92.39 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.7996, allocations: 11.81 kB / 0.9851 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.7996, allocations: 4 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7997, allocations: 318.8 kB / 0.9854 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.7998, allocations: 27.98 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/0.7999, allocations: 58.48 kB / 0.9855 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.8, allocations: 28 kB / 0.9855 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.8001, allocations: 3.953 kB / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002446/0.8003, allocations: 121.5 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8003, allocations: 8 kB / 0.9856 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8003, allocations: 0 / 0.9856 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8004, allocations: 0 / 0.9856 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.8005, allocations: 19.92 kB / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.8005, allocations: 0 / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.8006, allocations: 15.83 kB / 0.9857 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.8006, allocations: 4 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001184/0.8007, allocations: 121.9 kB / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.8007, allocations: 7.953 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.8008, allocations: 8.375 kB / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8008, allocations: 0 / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.8008, allocations: 0 / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.8008, allocations: 3.984 kB / 0.9858 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.8013, allocations: 394.7 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8013, allocations: 4 kB / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.8013, allocations: 4 kB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8013, allocations: 0 / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.8014, allocations: 0 / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8014, allocations: 4.016 kB / 0.9862 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8014, allocations: 3.984 kB / 0.9862 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.8017, allocations: 227.3 kB / 0.9864 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.8017, allocations: 81.11 kB / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.8018, allocations: 4 kB / 0.9865 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.8018, allocations: 7.984 kB / 0.9865 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.8019, allocations: 4 kB / 0.9865 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.8019, allocations: 7.984 kB / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.802, allocations: 95.88 kB / 0.9866 GB, free: 252 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.802, allocations: 3.938 kB / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003174/0.8023, allocations: 47.92 kB / 0.9867 GB, free: 200 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008527/0.8032, allocations: 0.8086 MB / 0.9874 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.8034, allocations: 67.97 kB / 0.9875 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8034, allocations: 4.125 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.769e-05/0.8035, allocations: 39.92 kB / 0.9876 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.8038, allocations: 11.92 kB / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.8051, allocations: 0.6079 MB / 0.9882 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.8055, allocations: 0.6926 MB / 0.9888 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.8055, allocations: 192 / 0.9888 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.8056, allocations: 19.44 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.8056, allocations: 0 / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.8217, allocations: 2.342 MB / 0.9911 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003605/0.8221, allocations: 250.5 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.626, allocations: 8.062 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat does not exist to compare? outputFormat=mat