Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.001163/0.001163, allocations: 99.7 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.001428/0.001428, 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.636/1.636, allocations: 223.2 MB / 239.9 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.631/2.631, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003691, allocations: 8 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7675, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00156/0.7691, allocations: 1.19 MB / 0.982 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.7702, allocations: 0.7134 MB / 0.9827 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.7702, allocations: 7.938 kB / 0.9827 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.7702, allocations: 0 / 0.9827 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.7703, allocations: 23.84 kB / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.7707, allocations: 87.75 kB / 0.9828 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.7708, allocations: 51.88 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.618e-05/0.7709, allocations: 11.98 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.771, allocations: 35.89 kB / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.7711, allocations: 43.83 kB / 0.983 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.7711, allocations: 4 kB / 0.983 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.7712, allocations: 63.88 kB / 0.983 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.7713, allocations: 19.91 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.7713, allocations: 37.7 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.7715, allocations: 90.08 kB / 0.9832 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.7715, allocations: 4 kB / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7715, allocations: 0 / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.7715, allocations: 0 / 0.9832 GB, free: 3.848 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.0006441/0.7721, allocations: 462.3 kB / 0.9836 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7722, allocations: 12.03 kB / 0.9836 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.7722, allocations: 34.56 kB / 0.9837 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.7723, allocations: 7.984 kB / 0.9837 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.7724, allocations: 182 kB / 0.9839 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.7724, allocations: 4 kB / 0.9839 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.7725, allocations: 12 kB / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.7726, allocations: 77.53 kB / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.7727, allocations: 0 / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.7727, allocations: 8 kB / 0.984 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7727, allocations: 0 / 0.984 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.7728, allocations: 39.97 kB / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.7733, allocations: 320.8 kB / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.7735, allocations: 70.53 kB / 0.9844 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.7735, allocations: 0 / 0.9844 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.7737, allocations: 99.36 kB / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7738, allocations: 0 / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003825/0.7741, allocations: 165.4 kB / 0.9846 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.7742, allocations: 59.41 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.666e-05/0.7743, allocations: 125.8 kB / 0.9848 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.7743, allocations: 33.7 kB / 0.9848 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.7744, allocations: 84.38 kB / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.7744, allocations: 31.78 kB / 0.9849 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.7744, allocations: 4 kB / 0.9849 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7745, allocations: 322.8 kB / 0.9852 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.7746, allocations: 27.92 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.7747, allocations: 69.14 kB / 0.9853 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/0.7748, allocations: 31.98 kB / 0.9854 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7748, allocations: 0 / 0.9854 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002343/0.7751, allocations: 145.4 kB / 0.9855 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7751, allocations: 4 kB / 0.9855 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7751, allocations: 0 / 0.9855 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7751, allocations: 4 kB / 0.9855 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.7752, allocations: 19.92 kB / 0.9855 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7752, allocations: 0 / 0.9855 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.7754, allocations: 24.02 kB / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.7754, allocations: 8 kB / 0.9856 GB, free: 1.152 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 9.481e-05/0.7755, allocations: 113.8 kB / 0.9857 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.7755, allocations: 11.86 kB / 0.9857 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.7758, allocations: 157.9 kB / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7758, allocations: 11.98 kB / 0.9858 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7758, allocations: 0 / 0.9858 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7759, allocations: 3.984 kB / 0.9859 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.7764, allocations: 434.2 kB / 0.9863 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7764, allocations: 0 / 0.9863 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/0.7765, allocations: 15.98 kB / 0.9863 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7765, allocations: 0 / 0.9863 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.7765, allocations: 4 kB / 0.9863 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7765, allocations: 4 kB / 0.9863 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7765, allocations: 0 / 0.9863 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.7768, allocations: 235.8 kB / 0.9865 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.7769, allocations: 92.95 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.7769, allocations: 4 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.777, allocations: 11.98 kB / 0.9866 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.7771, allocations: 15.92 kB / 0.9866 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.7771, allocations: 4 kB / 0.9866 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.077e-05/0.7772, allocations: 102.4 kB / 0.9867 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7772, allocations: 0 / 0.9867 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003039/0.7775, allocations: 39.98 kB / 0.9868 GB, free: 15.81 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.0007502/0.7783, allocations: 0.8288 MB / 0.9876 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.7785, allocations: 83.89 kB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.7785, allocations: 0 / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.7786, allocations: 51.91 kB / 0.9877 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.7788, allocations: 16.23 kB / 0.9877 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/0.7797, allocations: 1.209 MB / 0.9889 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.78, allocations: 0.7043 MB / 0.9896 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.78, allocations: 4.625 kB / 0.9896 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.7801, allocations: 31.36 kB / 0.9896 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.7801, allocations: 0 / 0.9896 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.793, allocations: 2.709 MB / 0.9923 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.7934, allocations: 237 kB / 0.9925 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.627, allocations: 0 / 0.9925 GB, free: 9.984 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat does not exist to compare? outputFormat=mat