Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.001034/0.001034, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001238/0.001238, allocations: 168.7 kB / 15.95 MB, free: 204 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.487/1.487, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.654/2.654, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 11.94 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8213/0.8218, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002086/0.8239, allocations: 1.182 MB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.8252, allocations: 0.6784 MB / 0.9829 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.8253, allocations: 0 / 0.9829 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.8253, allocations: 3.938 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.8253, allocations: 3.938 kB / 0.983 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.8258, allocations: 99.77 kB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.8259, allocations: 67.77 kB / 0.9831 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.826, allocations: 11.98 kB / 0.9831 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.8261, allocations: 39.89 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.8262, allocations: 31.84 kB / 0.9832 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.8262, allocations: 4 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.8264, allocations: 83.91 kB / 0.9833 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.8265, allocations: 15.91 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.8265, allocations: 37.7 kB / 0.9833 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.8267, allocations: 98.02 kB / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8267, allocations: 0 / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8267, allocations: 0 / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.8267, allocations: 0 / 0.9834 GB, free: 3.855 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.0006384/0.8273, allocations: 416.8 kB / 0.9838 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.8274, allocations: 8.031 kB / 0.9838 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.8274, allocations: 30.56 kB / 0.9839 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.8275, allocations: 15.78 kB / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.8276, allocations: 175 kB / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.8277, allocations: 11.98 kB / 0.9841 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.8277, allocations: 4 kB / 0.9841 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.8279, allocations: 73.61 kB / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.8279, allocations: 0 / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.8279, allocations: 4 kB / 0.9841 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8279, allocations: 0 / 0.9841 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.828, allocations: 43.97 kB / 0.9842 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.8286, allocations: 324.7 kB / 0.9845 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.8288, allocations: 50.56 kB / 0.9845 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.8289, allocations: 40.97 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.8289, allocations: 0 / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.8291, allocations: 79.39 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.8291, allocations: 0 / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004031/0.8295, allocations: 157.5 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.8296, allocations: 51.41 kB / 0.9848 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.8297, allocations: 122.1 kB / 0.985 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.8297, allocations: 29.7 kB / 0.985 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.8298, allocations: 92.31 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.8298, allocations: 11.81 kB / 0.9851 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.8298, allocations: 4 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.83, allocations: 322.8 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.83, allocations: 23.98 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.8302, allocations: 54.61 kB / 0.9855 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.8303, allocations: 39.92 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8303, allocations: 3.953 kB / 0.9855 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002328/0.8305, allocations: 125.5 kB / 0.9856 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.8305, allocations: 4 kB / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8305, allocations: 0 / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8306, allocations: 4.062 kB / 0.9856 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.8307, allocations: 15.98 kB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.8307, allocations: 0 / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.8308, allocations: 15.84 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.8308, allocations: 3.984 kB / 0.9857 GB, free: 1.301 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.0001026/0.8309, allocations: 124.5 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.8309, allocations: 3.953 kB / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.8309, allocations: 16.38 kB / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8309, allocations: 0 / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.831, allocations: 0 / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.831, allocations: 0 / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.8314, allocations: 394.8 kB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8314, allocations: 3.938 kB / 0.9862 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.8315, allocations: 11.92 kB / 0.9862 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8315, allocations: 7.938 kB / 0.9862 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.8315, allocations: 0 / 0.9862 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8315, allocations: 0 / 0.9862 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8315, allocations: 0 / 0.9862 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.8318, allocations: 219.4 kB / 0.9864 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.8319, allocations: 85.11 kB / 0.9865 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.8319, allocations: 0 / 0.9865 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.832, allocations: 7.984 kB / 0.9865 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.8321, allocations: 4 kB / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.8321, allocations: 0 / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.162e-05/0.8321, allocations: 95.27 kB / 0.9866 GB, free: 252 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8322, allocations: 0 / 0.9866 GB, free: 252 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003054/0.8325, allocations: 43.92 kB / 0.9866 GB, free: 208 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.0009485/0.8334, allocations: 0.8143 MB / 0.9874 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.8337, allocations: 79.81 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8337, allocations: 4 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.8338, allocations: 31.98 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.0002593/0.834, allocations: 20.05 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.00104/0.8351, allocations: 0.6064 MB / 0.9882 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.8354, allocations: 0.6848 MB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.066e-05/0.8354, allocations: 8.172 kB / 0.9888 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.8355, allocations: 19.44 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of SimCode: time 1.974e-06/0.8355, allocations: 4 kB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.8494, allocations: 2.343 MB / 0.9912 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.8497, allocations: 264.2 kB / 0.9914 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.718, allocations: 2.75 kB / 0.9914 GB, free: 11.34 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat does not exist to compare? outputFormat=mat