Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.0008194/0.0008192, allocations: 92.31 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.0009634/0.0009635, 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.608/2.608, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7807, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001849/0.7826, allocations: 1.28 MB / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.7839, allocations: 0.7328 MB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.784, allocations: 0 / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.784, allocations: 3.938 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.7841, allocations: 15.86 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.7846, allocations: 123.7 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.7848, allocations: 115.6 kB / 0.9833 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.7849, allocations: 23.95 kB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.785, allocations: 47.84 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.7851, allocations: 63.78 kB / 0.9835 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.7852, allocations: 8 kB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.7854, allocations: 87.84 kB / 0.9836 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.7854, allocations: 27.91 kB / 0.9836 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.7855, allocations: 37.7 kB / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.7856, allocations: 130 kB / 0.9838 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7857, allocations: 7.938 kB / 0.9838 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7857, allocations: 3.938 kB / 0.9838 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.7857, allocations: 0 / 0.9838 GB, free: 3.543 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006991/0.7864, allocations: 466.3 kB / 0.9842 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.7864, allocations: 12.03 kB / 0.9842 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.7865, allocations: 38.55 kB / 0.9843 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.7865, allocations: 7.906 kB / 0.9843 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.7867, allocations: 179.5 kB / 0.9844 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.7867, allocations: 8 kB / 0.9844 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.7868, allocations: 4 kB / 0.9845 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.787, allocations: 105.6 kB / 0.9846 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.787, allocations: 4 kB / 0.9846 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.7871, allocations: 7.938 kB / 0.9846 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7871, allocations: 0 / 0.9846 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.7873, allocations: 71.95 kB / 0.9846 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.7881, allocations: 376.6 kB / 0.985 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.7883, allocations: 74.55 kB / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.7884, allocations: 60.77 kB / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.7884, allocations: 0 / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.7887, allocations: 107.4 kB / 0.9852 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.674e-06/0.7887, allocations: 4 kB / 0.9852 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005878/0.7893, allocations: 229.7 kB / 0.9854 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.7894, allocations: 67.38 kB / 0.9855 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.7895, allocations: 141.9 kB / 0.9856 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.7896, allocations: 29.7 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.7896, allocations: 96.36 kB / 0.9858 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.7897, allocations: 19.72 kB / 0.9858 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.7897, allocations: 0 / 0.9858 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7898, allocations: 326.8 kB / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.79, allocations: 47.97 kB / 0.9861 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.7901, allocations: 82.95 kB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.7902, allocations: 51.98 kB / 0.9863 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7902, allocations: 3.953 kB / 0.9863 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003226/0.7906, allocations: 169.5 kB / 0.9864 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7906, allocations: 4 kB / 0.9864 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.7906, allocations: 4 kB / 0.9864 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7906, allocations: 0 / 0.9864 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.7908, allocations: 19.98 kB / 0.9865 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7908, allocations: 0 / 0.9865 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.355e-05/0.7909, allocations: 23.86 kB / 0.9865 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.791, allocations: 12.06 kB / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001017/0.7911, allocations: 123.2 kB / 0.9866 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.7911, allocations: 11.86 kB / 0.9866 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.7911, allocations: 16.7 kB / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7912, allocations: 0 / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7912, allocations: 0 / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7912, allocations: 4 kB / 0.9866 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/0.7918, allocations: 470.3 kB / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7918, allocations: 112 / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.7919, allocations: 15.97 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.7919, allocations: 7.984 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.7919, allocations: 8 kB / 0.9871 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7919, allocations: 0 / 0.9871 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7919, allocations: 0 / 0.9871 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.7923, allocations: 283.4 kB / 0.9874 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.7924, allocations: 92.95 kB / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.7924, allocations: 0 / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.7925, allocations: 11.98 kB / 0.9875 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.7926, allocations: 11.92 kB / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.7926, allocations: 0 / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.025e-05/0.7927, allocations: 107.8 kB / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7927, allocations: 0 / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003246/0.793, allocations: 48 kB / 0.9877 GB, free: 15.2 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009076/0.7939, allocations: 0.8649 MB / 0.9885 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.7942, allocations: 127.9 kB / 0.9886 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7943, allocations: 0 / 0.9886 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.7944, allocations: 67.89 kB / 0.9887 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.7947, allocations: 14.66 kB / 0.9887 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.796, allocations: 0.7792 MB / 0.9895 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.7963, allocations: 0.7002 MB / 0.9901 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.422e-05/0.7963, allocations: 4 kB / 0.9901 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.7964, allocations: 27.42 kB / 0.9902 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.7964, allocations: 0 / 0.9902 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.8105, allocations: 3.015 MB / 0.9931 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.8108, allocations: 253.3 kB / 0.9934 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.741, allocations: 6.25 kB / 0.9934 GB, free: 9.363 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat does not exist to compare? outputFormat=mat