Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.001428/0.001427, allocations: 102.5 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.001593/0.001594, allocations: 173.3 kB / 15.95 MB, free: 212 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.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.688/2.688, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004542, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.8061, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001813/0.808, allocations: 1.198 MB / 0.982 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.8091, allocations: 0.6745 MB / 0.9827 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.8092, allocations: 0 / 0.9827 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.8092, allocations: 7.922 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.458e-05/0.8093, allocations: 11.92 kB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.8097, allocations: 95.64 kB / 0.9828 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.8098, allocations: 43.94 kB / 0.9828 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.8099, allocations: 11.97 kB / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.81, allocations: 35.92 kB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.8101, allocations: 35.81 kB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.8101, allocations: 4 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.8102, allocations: 59.95 kB / 0.983 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.8103, allocations: 23.89 kB / 0.983 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.8103, allocations: 33.7 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.8105, allocations: 98.02 kB / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.8105, allocations: 0 / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8105, allocations: 0 / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.8105, allocations: 4 kB / 0.9831 GB, free: 3.953 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.0005513/0.811, allocations: 408.8 kB / 0.9835 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.8111, allocations: 12.02 kB / 0.9835 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.8111, allocations: 34.5 kB / 0.9836 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.8112, allocations: 7.906 kB / 0.9836 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.8113, allocations: 179 kB / 0.9837 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.8113, allocations: 4 kB / 0.9838 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.8113, allocations: 7.984 kB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.8115, allocations: 77.61 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.8115, allocations: 0 / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8116, allocations: 0 / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8116, allocations: 0 / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.8117, allocations: 51.89 kB / 0.9839 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.8123, allocations: 320.7 kB / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.8124, allocations: 46.56 kB / 0.9842 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.8125, allocations: 8 kB / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.8127, allocations: 79.52 kB / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.8127, allocations: 0 / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003821/0.8131, allocations: 149.5 kB / 0.9845 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.8131, allocations: 59.39 kB / 0.9845 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.8132, allocations: 125.8 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.8132, allocations: 29.7 kB / 0.9847 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.8133, allocations: 92.31 kB / 0.9848 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.8133, allocations: 11.81 kB / 0.9848 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.8133, allocations: 0 / 0.9848 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.8134, allocations: 322.8 kB / 0.9851 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.8135, allocations: 31.98 kB / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.8136, allocations: 46.56 kB / 0.9851 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/0.8137, allocations: 35.92 kB / 0.9852 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8137, allocations: 7.938 kB / 0.9852 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002224/0.8139, allocations: 125.4 kB / 0.9853 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8139, allocations: 8 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.814, allocations: 0 / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.814, allocations: 0 / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.8141, allocations: 11.98 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8141, allocations: 4.062 kB / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.8142, allocations: 15.84 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.8142, allocations: 4 kB / 0.9854 GB, free: 1.441 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 9.439e-05/0.8143, allocations: 125.8 kB / 0.9855 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.8143, allocations: 7.953 kB / 0.9855 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.8143, allocations: 8.359 kB / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8143, allocations: 4 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8143, allocations: 0 / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8143, allocations: 4 kB / 0.9855 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.8148, allocations: 386.4 kB / 0.9859 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8148, allocations: 0 / 0.9859 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.8148, allocations: 11.92 kB / 0.9859 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.8148, allocations: 4 kB / 0.9859 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.8149, allocations: 3.938 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8149, allocations: 4 kB / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8149, allocations: 0 / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.8151, allocations: 215.4 kB / 0.9861 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.8152, allocations: 81.09 kB / 0.9862 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.8152, allocations: 4 kB / 0.9862 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.8153, allocations: 8 kB / 0.9862 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.8153, allocations: 3.984 kB / 0.9862 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.8154, allocations: 8 kB / 0.9862 GB, free: 488 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.8154, allocations: 99.86 kB / 0.9863 GB, free: 388 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8154, allocations: 0 / 0.9863 GB, free: 388 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003/0.8157, allocations: 39.98 kB / 0.9863 GB, free: 348 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.0007446/0.8165, allocations: 0.8087 MB / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.8167, allocations: 83.88 kB / 0.9872 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8167, allocations: 0 / 0.9872 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.8168, allocations: 39.98 kB / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.817, allocations: 0 / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.8177, allocations: 0.7245 MB / 0.9879 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.8179, allocations: 0.6926 MB / 0.9886 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.818, allocations: 4.188 kB / 0.9886 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.818, allocations: 22.3 kB / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.818, allocations: 0 / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.8323, allocations: 2.315 MB / 0.9909 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/0.8327, allocations: 244.4 kB / 0.9911 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.625, allocations: 0 / 0.9911 GB, free: 11.49 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat does not exist to compare? outputFormat=mat