Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Gunay2016Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.00158/0.00158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001846/0.001846, allocations: 195 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 70.48 kB / 0.8985 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2616, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002375/0.264, allocations: 1.591 MB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2652, allocations: 0.7595 MB / 1.054 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.483e-05/0.2652, allocations: 0 / 1.054 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.2653, allocations: 3.938 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.2654, allocations: 15.84 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.2658, allocations: 111.8 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2659, allocations: 91.7 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.266, allocations: 11.98 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.2661, allocations: 43.84 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.2662, allocations: 39.83 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.2662, allocations: 4 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.2663, allocations: 95.84 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.2664, allocations: 27.89 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.2664, allocations: 35.8 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.2666, allocations: 147.9 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2667, allocations: 4 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2667, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2667, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006527/0.2673, allocations: 0.4924 MB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2674, allocations: 12.03 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.2674, allocations: 34.75 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.2674, allocations: 8.844 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2676, allocations: 188.1 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2676, allocations: 4.375 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2676, allocations: 4.375 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2678, allocations: 85.77 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.2678, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2678, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2678, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.268, allocations: 55.89 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.2685, allocations: 332.7 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.2687, allocations: 78.67 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.2688, allocations: 44.94 kB / 1.056 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2688, allocations: 3.938 kB / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.269, allocations: 107.3 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.269, allocations: 3.938 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003867/0.2694, allocations: 173.5 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.2695, allocations: 59.39 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2696, allocations: 132.4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2696, allocations: 37.64 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.2696, allocations: 88.14 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.2697, allocations: 31.55 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.2697, allocations: 33.7 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.2698, allocations: 326.8 kB / 1.057 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.2699, allocations: 27.98 kB / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.27, allocations: 69.14 kB / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2702, allocations: 109.1 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2702, allocations: 4 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002386/0.2704, allocations: 133.4 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2705, allocations: 8 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2705, allocations: 0 / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2705, allocations: 4 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2706, allocations: 23.86 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2706, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.697e-05/0.2707, allocations: 20.02 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2707, allocations: 8 kB / 1.058 GB, free: 2.234 MB / 0.8106 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/0.2708, allocations: 126.5 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.2708, allocations: 8.047 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.2712, allocations: 170.2 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2712, allocations: 4 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2712, allocations: 0 / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2712, allocations: 4 kB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.2717, allocations: 444.6 kB / 1.058 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2717, allocations: 0 / 1.058 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.2718, allocations: 11.98 kB / 1.058 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2718, allocations: 4 kB / 1.058 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2718, allocations: 3.984 kB / 1.058 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2718, allocations: 3.938 kB / 1.058 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2718, allocations: 0 / 1.058 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.2721, allocations: 247.3 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.2722, allocations: 92.86 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.2722, allocations: 0 / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.2723, allocations: 19.92 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.2724, allocations: 7.984 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2724, allocations: 4 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.2724, allocations: 105.1 kB / 1.059 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2724, allocations: 0 / 1.059 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002744/0.2727, allocations: 47.92 kB / 1.059 GB, free: 0.8555 MB / 0.8106 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007025/0.2734, allocations: 0.8398 MB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.2737, allocations: 87.97 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2737, allocations: 0 / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2738, allocations: 55.91 kB / 1.06 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.2741, allocations: 32.05 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2756, allocations: 1.649 MB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2758, allocations: 0.7043 MB / 1.062 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.782e-05/0.2759, allocations: 12.36 kB / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.276, allocations: 31.42 kB / 1.062 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.276, allocations: 0 / 1.062 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/0.4102, allocations: 3.047 MB / 1.065 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.4106, allocations: 266.2 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.343, allocations: 0 / 1.066 GB, free: 10.11 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches