Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.001111/0.001111, allocations: 91.61 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.001346/0.001347, 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.471/1.471, allocations: 223.2 MB / 240 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.571/2.571, allocations: 409.4 MB / 0.684 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003741, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8113/0.8117, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002091/0.8138, allocations: 1.19 MB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.8153, allocations: 0.6744 MB / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.8154, allocations: 0 / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.8154, allocations: 0 / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.8155, allocations: 11.92 kB / 0.983 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.8162, allocations: 99.77 kB / 0.9831 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.8163, allocations: 71.77 kB / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.8165, allocations: 7.984 kB / 0.9831 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.8166, allocations: 31.84 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.8167, allocations: 39.83 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.8167, allocations: 4 kB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.817, allocations: 91.84 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.817, allocations: 11.98 kB / 0.9833 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.8171, allocations: 33.64 kB / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.8173, allocations: 106.1 kB / 0.9834 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8173, allocations: 0 / 0.9834 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8173, allocations: 0 / 0.9834 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8173, allocations: 0 / 0.9834 GB, free: 3.867 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.0007377/0.818, allocations: 404.8 kB / 0.9838 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.8181, allocations: 19.97 kB / 0.9839 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.8182, allocations: 34.56 kB / 0.9839 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.8182, allocations: 11.91 kB / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.8184, allocations: 167 kB / 0.9841 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.8184, allocations: 0 / 0.9841 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.8184, allocations: 7.984 kB / 0.9841 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.8186, allocations: 81.53 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.8186, allocations: 4 kB / 0.9841 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8187, allocations: 4 kB / 0.9842 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8187, allocations: 0 / 0.9842 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.8188, allocations: 39.97 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.8194, allocations: 324.7 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.8196, allocations: 46.56 kB / 0.9845 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.963e-05/0.8197, allocations: 36.91 kB / 0.9846 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.8197, allocations: 4 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.8199, allocations: 87.36 kB / 0.9847 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.8199, allocations: 0 / 0.9847 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004142/0.8203, allocations: 145.6 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.8204, allocations: 59.41 kB / 0.9849 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.8205, allocations: 125.8 kB / 0.985 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.8205, allocations: 25.7 kB / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.8206, allocations: 88.31 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.8206, allocations: 15.81 kB / 0.9851 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.8206, allocations: 0 / 0.9851 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8208, allocations: 322.8 kB / 0.9854 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.8209, allocations: 31.98 kB / 0.9854 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.173e-05/0.821, allocations: 50.5 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.034e-05/0.8211, allocations: 31.98 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8211, allocations: 3.953 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002565/0.8213, allocations: 125.5 kB / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8214, allocations: 8 kB / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8214, allocations: 4.328 kB / 0.9857 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8214, allocations: 0 / 0.9857 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.8215, allocations: 19.92 kB / 0.9857 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.8215, allocations: 0 / 0.9857 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.8216, allocations: 15.91 kB / 0.9857 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.8216, allocations: 11.98 kB / 0.9857 GB, free: 1.312 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.0001055/0.8217, allocations: 113.8 kB / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.8218, allocations: 7.953 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.8218, allocations: 8.375 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8218, allocations: 4 kB / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8218, allocations: 0 / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8218, allocations: 0 / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.8223, allocations: 390.3 kB / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8223, allocations: 0 / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.8224, allocations: 7.984 kB / 0.9862 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8224, allocations: 4 kB / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.8224, allocations: 0 / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8224, allocations: 0 / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8224, allocations: 4 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.8227, allocations: 227.3 kB / 0.9864 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.8227, allocations: 77.11 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.8228, allocations: 4 kB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.8229, allocations: 12 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.8229, allocations: 7.984 kB / 0.9865 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.8229, allocations: 4 kB / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.823, allocations: 91.92 kB / 0.9866 GB, free: 272 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.823, allocations: 3.938 kB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003043/0.8233, allocations: 39.98 kB / 0.9867 GB, free: 228 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.0008382/0.8241, allocations: 0.8103 MB / 0.9875 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.8244, allocations: 83.89 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8244, allocations: 0 / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.8245, allocations: 43.91 kB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.8248, allocations: 7.984 kB / 0.9876 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.8258, allocations: 0.6051 MB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.8261, allocations: 0.6848 MB / 0.9888 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.8261, allocations: 8.172 kB / 0.9889 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.8262, allocations: 18.19 kB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.8262, allocations: 0 / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.8406, allocations: 2.332 MB / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.8409, allocations: 242.2 kB / 0.9914 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.755, allocations: 4 kB / 0.9914 GB, free: 11.39 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat does not exist to compare? outputFormat=mat