Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.0008957/0.0008957, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009701/0.0009702, allocations: 168.7 kB / 15.95 MB, free: 204 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.466/1.466, allocations: 223.2 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.684/2.684, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003652, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8444/0.8448, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00213/0.8469, allocations: 1.206 MB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.8483, allocations: 0.7056 MB / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.8483, allocations: 4 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.8484, allocations: 0 / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.806e-05/0.8485, allocations: 15.86 kB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.849, allocations: 99.75 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.8491, allocations: 71.78 kB / 0.9832 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.8492, allocations: 15.97 kB / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.8494, allocations: 35.84 kB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.8495, allocations: 35.84 kB / 0.9833 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.8495, allocations: 11.94 kB / 0.9833 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.8497, allocations: 83.84 kB / 0.9834 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.8497, allocations: 11.98 kB / 0.9834 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.8498, allocations: 37.64 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.8501, allocations: 102.1 kB / 0.9835 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8501, allocations: 0 / 0.9835 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8501, allocations: 0 / 0.9835 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.8501, allocations: 0 / 0.9835 GB, free: 3.828 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.0009453/0.8511, allocations: 458.4 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8511, allocations: 8.031 kB / 0.9839 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.8512, allocations: 46.48 kB / 0.984 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.8512, allocations: 4 kB / 0.984 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.8514, allocations: 174 kB / 0.9842 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.8514, allocations: 8 kB / 0.9842 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.8514, allocations: 7.984 kB / 0.9842 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.8516, allocations: 81.55 kB / 0.9843 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.8516, allocations: 0 / 0.9843 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.8517, allocations: 0 / 0.9843 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.8517, allocations: 4 kB / 0.9843 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.8518, allocations: 43.95 kB / 0.9843 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.8523, allocations: 332.7 kB / 0.9846 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.8526, allocations: 62.52 kB / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.024e-05/0.8527, allocations: 44.77 kB / 0.9847 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.8527, allocations: 0 / 0.9847 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.8529, allocations: 99.39 kB / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.8529, allocations: 0 / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003946/0.8533, allocations: 157.5 kB / 0.985 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.8534, allocations: 59.39 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.8535, allocations: 125.8 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.8536, allocations: 29.7 kB / 0.9852 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.8537, allocations: 92.36 kB / 0.9853 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.8537, allocations: 27.8 kB / 0.9853 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.8537, allocations: 4.375 kB / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8538, allocations: 318.8 kB / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.8539, allocations: 27.98 kB / 0.9856 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.854, allocations: 69.12 kB / 0.9857 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.8541, allocations: 43.86 kB / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8541, allocations: 0 / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002346/0.8544, allocations: 137.4 kB / 0.9859 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8544, allocations: 4 kB / 0.9859 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8544, allocations: 4 kB / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8544, allocations: 0 / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.8546, allocations: 19.98 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.8546, allocations: 7.984 kB / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.8547, allocations: 20.03 kB / 0.9859 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.8547, allocations: 7.984 kB / 0.9859 GB, free: 1.09 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.0001028/0.8548, allocations: 125.8 kB / 0.986 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.8548, allocations: 11.86 kB / 0.9861 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.8552, allocations: 149.9 kB / 0.9862 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8552, allocations: 8 kB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8552, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8552, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.8558, allocations: 426.3 kB / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8559, allocations: 3.984 kB / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.8559, allocations: 19.88 kB / 0.9866 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.856, allocations: 0 / 0.9866 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.856, allocations: 11.98 kB / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.856, allocations: 0 / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.856, allocations: 0 / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.8563, allocations: 227.4 kB / 0.9869 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.8565, allocations: 85.02 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.8565, allocations: 7.984 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.8566, allocations: 8 kB / 0.987 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.8567, allocations: 16.05 kB / 0.987 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.8567, allocations: 4 kB / 0.987 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.314e-05/0.8568, allocations: 102.1 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8568, allocations: 0 / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003167/0.8571, allocations: 43.94 kB / 0.9871 GB, free: 15.76 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 (12): * Single equations (assignments): 9 * 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.0008411/0.858, allocations: 0.8306 MB / 0.9879 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.8582, allocations: 91.83 kB / 0.988 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8582, allocations: 0 / 0.988 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.8583, allocations: 47.92 kB / 0.9881 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.8586, allocations: 18.11 kB / 0.9881 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.8603, allocations: 0.6668 MB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.8608, allocations: 0.7004 MB / 0.9894 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.8609, allocations: 8.422 kB / 0.9894 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.8609, allocations: 23.42 kB / 0.9894 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.8609, allocations: 0 / 0.9894 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.8759, allocations: 2.731 MB / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.8761, allocations: 243.4 kB / 0.9923 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.771, allocations: 3.125 kB / 0.9923 GB, free: 10.47 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat does not exist to compare? outputFormat=mat