Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.001365/0.001365, allocations: 91.84 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.001348/0.001348, 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.65/2.65, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003525, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7766, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002303/0.7789, allocations: 1.221 MB / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.7807, allocations: 0.7056 MB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.7808, allocations: 0 / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.7808, allocations: 3.938 kB / 0.983 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.781, allocations: 19.84 kB / 0.983 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.7816, allocations: 99.77 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.7818, allocations: 75.77 kB / 0.9832 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.7819, allocations: 11.98 kB / 0.9832 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.782, allocations: 39.83 kB / 0.9832 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.7822, allocations: 35.84 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.7822, allocations: 8 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.7824, allocations: 83.84 kB / 0.9834 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.7825, allocations: 11.98 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.7826, allocations: 41.64 kB / 0.9834 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.7828, allocations: 106 kB / 0.9835 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7828, allocations: 0 / 0.9835 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.799e-06/0.7828, allocations: 0 / 0.9835 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.7829, allocations: 3.938 kB / 0.9835 GB, free: 3.746 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009359/0.7838, allocations: 472.1 kB / 0.984 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7839, allocations: 8.031 kB / 0.984 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.7839, allocations: 34.56 kB / 0.984 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.784, allocations: 7.906 kB / 0.984 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.7842, allocations: 176.3 kB / 0.9842 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/0.7843, allocations: 37.64 kB / 0.9842 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.7843, allocations: 4 kB / 0.9842 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.7846, allocations: 85.59 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.7846, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.7846, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7846, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.7849, allocations: 51.95 kB / 0.9844 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.7856, allocations: 344.6 kB / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.7858, allocations: 62.55 kB / 0.9848 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.786, allocations: 44.84 kB / 0.9848 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.7861, allocations: 3.984 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003346/0.7864, allocations: 103.3 kB / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/0.7864, allocations: 0 / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006512/0.7871, allocations: 173.5 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.7872, allocations: 55.41 kB / 0.9851 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.7873, allocations: 138.8 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.7874, allocations: 29.7 kB / 0.9853 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.7874, allocations: 92.38 kB / 0.9854 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.7875, allocations: 23.86 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.7875, allocations: 4 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.7877, allocations: 322.8 kB / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.7878, allocations: 27.98 kB / 0.9857 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.788, allocations: 71.88 kB / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.7882, allocations: 51.81 kB / 0.9858 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7882, allocations: 0 / 0.9858 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004194/0.7886, allocations: 145.6 kB / 0.986 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7887, allocations: 4.781 kB / 0.986 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.7887, allocations: 0 / 0.986 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.7887, allocations: 7.984 kB / 0.986 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.7889, allocations: 15.98 kB / 0.986 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7889, allocations: 4 kB / 0.986 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.789, allocations: 19.98 kB / 0.986 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.7891, allocations: 11.94 kB / 0.986 GB, free: 0.8984 MB / 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: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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.0001281/0.7892, allocations: 125.8 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.7893, allocations: 11.89 kB / 0.9862 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.7893, allocations: 8.719 kB / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7893, allocations: 4 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7893, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7893, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.79, allocations: 442.6 kB / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.79, allocations: 0 / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.7901, allocations: 11.94 kB / 0.9866 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.7901, allocations: 3.984 kB / 0.9866 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.7901, allocations: 8 kB / 0.9866 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7901, allocations: 0 / 0.9866 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7901, allocations: 0 / 0.9866 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.7905, allocations: 235.3 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.7906, allocations: 81.02 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.7906, allocations: 12 kB / 0.9869 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.7908, allocations: 11.98 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.7908, allocations: 7.984 kB / 0.987 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.7909, allocations: 7.984 kB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.7909, allocations: 105.5 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7909, allocations: 0 / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003252/0.7913, allocations: 40 kB / 0.9871 GB, free: 15.7 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0009331/0.7922, allocations: 0.8329 MB / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.7926, allocations: 95.91 kB / 0.988 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7926, allocations: 0 / 0.988 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.7927, allocations: 43.98 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.7931, allocations: 16.23 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.7943, allocations: 0.6986 MB / 0.9888 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.7946, allocations: 0.6926 MB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.279e-05/0.7946, allocations: 8.656 kB / 0.9894 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.7947, allocations: 27.42 kB / 0.9895 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.7947, allocations: 8 kB / 0.9895 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.8116, allocations: 2.725 MB / 0.9921 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.812, allocations: 240.3 kB / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.69, allocations: 0 / 0.9924 GB, free: 10.38 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat does not exist to compare? outputFormat=mat