Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.0009888/0.0009886, allocations: 99.55 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.001125/0.001125, allocations: 177.3 kB / 15.94 MB, free: 228 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.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.641/2.641, allocations: 409.2 MB / 0.6838 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004176, allocations: 8 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9628, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001921/0.9648, allocations: 1.307 MB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.9661, allocations: 0.7485 MB / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.9661, allocations: 0 / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.9662, allocations: 3.938 kB / 0.9829 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.9663, allocations: 27.88 kB / 0.9829 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.9668, allocations: 115.7 kB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.9669, allocations: 91.81 kB / 0.9831 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.967, allocations: 25.03 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.9672, allocations: 63.81 kB / 0.9832 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.9673, allocations: 67.78 kB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.9673, allocations: 4 kB / 0.9833 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.9675, allocations: 67.89 kB / 0.9833 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.9675, allocations: 35.88 kB / 0.9834 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.9676, allocations: 45.64 kB / 0.9834 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.9678, allocations: 149.8 kB / 0.9835 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.9678, allocations: 0 / 0.9835 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9678, allocations: 0 / 0.9835 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.9678, allocations: 0 / 0.9835 GB, free: 3.559 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007875/0.9686, allocations: 0.5212 MB / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.9687, allocations: 8.031 kB / 0.9841 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.9688, allocations: 42.55 kB / 0.9841 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.9688, allocations: 7.906 kB / 0.9841 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.969, allocations: 188.2 kB / 0.9843 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.969, allocations: 0 / 0.9843 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.969, allocations: 12 kB / 0.9843 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.9695, allocations: 157.4 kB / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9695, allocations: 0 / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.9696, allocations: 8 kB / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9696, allocations: 0 / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.97, allocations: 127.9 kB / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.9709, allocations: 392.5 kB / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.9713, allocations: 122.4 kB / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.9713, allocations: 0 / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004593/0.9718, allocations: 151.3 kB / 0.9852 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.9718, allocations: 0 / 0.9852 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001159/0.9729, allocations: 353.6 kB / 0.9855 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.973, allocations: 55.39 kB / 0.9856 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.9731, allocations: 152.1 kB / 0.9857 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.9732, allocations: 29.8 kB / 0.9858 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.9732, allocations: 108.3 kB / 0.9859 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.9733, allocations: 27.72 kB / 0.9859 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.9733, allocations: 8 kB / 0.9859 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.9734, allocations: 318.8 kB / 0.9862 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.9736, allocations: 51.97 kB / 0.9863 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.9737, allocations: 85.12 kB / 0.9863 GB, free: 428 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.9739, allocations: 51.97 kB / 0.9864 GB, free: 376 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9739, allocations: 3.953 kB / 0.9864 GB, free: 372 kB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003619/0.9743, allocations: 169.4 kB / 0.9866 GB, free: 196 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.9743, allocations: 4.125 kB / 0.9866 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9743, allocations: 4 kB / 0.9866 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.9743, allocations: 4 kB / 0.9866 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.9745, allocations: 31.91 kB / 0.9866 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.9745, allocations: 4 kB / 0.9866 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.9747, allocations: 19.84 kB / 0.9866 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.9747, allocations: 7.984 kB / 0.9866 GB, free: 120 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001654/0.9749, allocations: 127.2 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.9749, allocations: 11.95 kB / 0.9868 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.975, allocations: 20.64 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.975, allocations: 3.984 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.975, allocations: 0 / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.975, allocations: 0 / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.9761, allocations: 0.5492 MB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9761, allocations: 3.938 kB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.635e-05/0.9762, allocations: 19.97 kB / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.9762, allocations: 0 / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.9762, allocations: 8 kB / 0.9874 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9762, allocations: 0 / 0.9874 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9762, allocations: 0 / 0.9874 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008263/0.9771, allocations: 367.1 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.9771, allocations: 85.02 kB / 0.9878 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.9772, allocations: 8 kB / 0.9878 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.9774, allocations: 23.97 kB / 0.9878 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.9775, allocations: 15.98 kB / 0.9878 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.9775, allocations: 7.984 kB / 0.9878 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.9776, allocations: 108.9 kB / 0.9879 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9776, allocations: 0 / 0.9879 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003778/0.978, allocations: 47.94 kB / 0.988 GB, free: 14.62 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,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): 6 * 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.001465/0.9794, allocations: 0.9431 MB / 0.9889 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.98, allocations: 171.7 kB / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.98, allocations: 0 / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.9804, allocations: 108.1 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.9806, allocations: 11.98 kB / 0.9892 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.9819, allocations: 1.283 MB / 0.9904 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.9822, allocations: 0.7004 MB / 0.9911 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.909e-05/0.9823, allocations: 12.16 kB / 0.9911 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.9824, allocations: 35.42 kB / 0.9912 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/0.9824, allocations: 3.938 kB / 0.9912 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.9966, allocations: 3.063 MB / 0.9942 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.9969, allocations: 249.5 kB / 0.9944 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.801, allocations: 0 / 0.9944 GB, free: 8.047 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat does not exist to compare? outputFormat=mat