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.001282/0.001281, allocations: 99.78 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.001551/0.001551, allocations: 177.3 kB / 15.95 MB, free: 216 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 / 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.723/2.723, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.804/0.8043, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001962/0.8064, allocations: 1.19 MB / 0.982 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.8076, allocations: 0.6784 MB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.8076, allocations: 3.938 kB / 0.9827 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.8077, allocations: 3.984 kB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.815e-05/0.8077, allocations: 15.97 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.8083, allocations: 95.64 kB / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.8084, allocations: 39.94 kB / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.8085, allocations: 15.98 kB / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.8086, allocations: 35.89 kB / 0.9829 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.8087, allocations: 31.84 kB / 0.9829 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.8087, allocations: 4 kB / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.8089, allocations: 63.92 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.8089, allocations: 15.92 kB / 0.983 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.809, allocations: 33.7 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.8092, allocations: 106 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.8092, allocations: 4 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8092, allocations: 0 / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8093, allocations: 0 / 0.9831 GB, free: 3.938 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.0007869/0.81, allocations: 408.8 kB / 0.9835 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.8101, allocations: 11.97 kB / 0.9835 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.8102, allocations: 34.56 kB / 0.9836 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.8102, allocations: 7.906 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.8104, allocations: 171 kB / 0.9837 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.8104, allocations: 8 kB / 0.9837 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.8104, allocations: 7.984 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.8106, allocations: 73.61 kB / 0.9838 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8106, allocations: 0 / 0.9838 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.8107, allocations: 4 kB / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.8107, allocations: 0 / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.8108, allocations: 51.89 kB / 0.9839 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.8115, allocations: 320.7 kB / 0.9842 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.8116, allocations: 50.56 kB / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.8117, allocations: 0 / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.8119, allocations: 79.44 kB / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.8119, allocations: 3.938 kB / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004335/0.8123, allocations: 157.6 kB / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.8124, allocations: 51.41 kB / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.8125, allocations: 129.7 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.8125, allocations: 29.7 kB / 0.9847 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.8126, allocations: 92.31 kB / 0.9848 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.8126, allocations: 15.81 kB / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.8126, allocations: 4 kB / 0.9848 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8128, allocations: 318.8 kB / 0.9851 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.8129, allocations: 31.98 kB / 0.9851 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.813, allocations: 50.5 kB / 0.9852 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.8131, allocations: 31.98 kB / 0.9852 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8131, allocations: 4 kB / 0.9852 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002378/0.8133, allocations: 121.5 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8134, allocations: 4 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8134, allocations: 4 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8134, allocations: 8.062 kB / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.8135, allocations: 11.98 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8135, allocations: 0 / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.8136, allocations: 15.84 kB / 0.9853 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.8136, allocations: 3.984 kB / 0.9854 GB, free: 1.426 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.00014/0.8138, allocations: 125.8 kB / 0.9855 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.8138, allocations: 3.953 kB / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.8138, allocations: 12.38 kB / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.8138, allocations: 0 / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8138, allocations: 0 / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8139, allocations: 0 / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.8143, allocations: 390.4 kB / 0.9859 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8143, allocations: 0 / 0.9859 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.8144, allocations: 15.92 kB / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.8144, allocations: 0 / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.8144, allocations: 3.938 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.8144, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8144, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.8148, allocations: 227.8 kB / 0.9861 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.8148, allocations: 81.11 kB / 0.9862 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.8149, allocations: 0 / 0.9862 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.815, allocations: 4 kB / 0.9862 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.815, allocations: 7.984 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.815, allocations: 0 / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.014e-05/0.8151, allocations: 99.27 kB / 0.9863 GB, free: 380 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8151, allocations: 0 / 0.9863 GB, free: 380 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002958/0.8154, allocations: 39.92 kB / 0.9863 GB, free: 340 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.001005/0.8164, allocations: 0.821 MB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.8167, allocations: 71.89 kB / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8167, allocations: 4 kB / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.8168, allocations: 35.98 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.817, allocations: 20.03 kB / 0.9872 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.8181, allocations: 0.7166 MB / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.8186, allocations: 0.6887 MB / 0.9886 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.8187, allocations: 8.172 kB / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.8187, allocations: 19.44 kB / 0.9886 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of SimCode: time 3.9e-07/0.8187, allocations: 0 / 0.9886 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.8345, allocations: 2.311 MB / 0.9909 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.8348, allocations: 243.8 kB / 0.9911 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.825, allocations: 5.5 kB / 0.9911 GB, free: 11.45 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