Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 116.7 kB / 16.37 MB, free: 6.012 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.00115/0.00115, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.05 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2808, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002566/0.2834, allocations: 1.524 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2848, allocations: 0.7517 MB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.2849, allocations: 0 / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.285, allocations: 11.86 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.2851, allocations: 15.86 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.2857, allocations: 135.5 kB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.2859, allocations: 95.7 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.286, allocations: 15.94 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/0.2861, allocations: 47.83 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.2862, allocations: 47.83 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2862, allocations: 12 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2864, allocations: 87.91 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.2864, allocations: 23.91 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.2865, allocations: 47.72 kB / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.2867, allocations: 159.5 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2867, allocations: 0 / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2867, allocations: 0 / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2867, allocations: 0 / 0.954 GB, free: 5.066 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006859/0.2874, allocations: 0.4885 MB / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2875, allocations: 8.031 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.2875, allocations: 16.75 kB / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2876, allocations: 182.7 kB / 0.9547 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2877, allocations: 12.31 kB / 0.9547 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.2877, allocations: 4.375 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2879, allocations: 85.95 kB / 0.9548 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2879, allocations: 0 / 0.9548 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.2879, allocations: 3.984 kB / 0.9548 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2879, allocations: 8 kB / 0.9548 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.2881, allocations: 47.95 kB / 0.9548 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.2887, allocations: 332.7 kB / 0.9552 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.2889, allocations: 78.66 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.289, allocations: 44.84 kB / 0.9553 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.289, allocations: 0 / 0.9553 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.2893, allocations: 111.2 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.2893, allocations: 0 / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0004313/0.2897, allocations: 173.5 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2898, allocations: 51.41 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2899, allocations: 138.1 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2899, allocations: 29.7 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.29, allocations: 96.11 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.29, allocations: 27.66 kB / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.2901, allocations: 29.7 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2902, allocations: 326.8 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.2903, allocations: 35.86 kB / 0.9563 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2904, allocations: 79.73 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2906, allocations: 105.1 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2906, allocations: 4 kB / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.2909, allocations: 137.3 kB / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2909, allocations: 4 kB / 0.9566 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2909, allocations: 4 kB / 0.9566 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2909, allocations: 0 / 0.9566 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.291, allocations: 19.92 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2911, allocations: 7.984 kB / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.814e-05/0.2912, allocations: 12.03 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.2912, allocations: 8 kB / 0.9566 GB, free: 2.121 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 (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 0.0001145/0.2913, allocations: 129.4 kB / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2913, allocations: 11.89 kB / 0.9567 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.2917, allocations: 166.3 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2917, allocations: 0 / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2917, allocations: 0 / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2917, allocations: 0 / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/0.2923, allocations: 454.2 kB / 0.9573 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2923, allocations: 4 kB / 0.9573 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.2924, allocations: 12 kB / 0.9574 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2924, allocations: 3.984 kB / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2924, allocations: 0 / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2924, allocations: 7.938 kB / 0.9574 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2924, allocations: 0 / 0.9574 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.2927, allocations: 251.2 kB / 0.9576 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.2928, allocations: 88.95 kB / 0.9577 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.2928, allocations: 7.938 kB / 0.9577 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.293, allocations: 11.98 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.293, allocations: 7.984 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.293, allocations: 7.984 kB / 0.9577 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.318e-05/0.2931, allocations: 99.27 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2931, allocations: 4 kB / 0.9578 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003221/0.2934, allocations: 44 kB / 0.9579 GB, free: 0.7344 MB / 0.7325 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.0003532/0.2938, allocations: 162 kB / 0.958 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.2941, allocations: 94.89 kB / 0.9581 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2941, allocations: 4 kB / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.2942, allocations: 55.97 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2945, allocations: 24.92 kB / 0.9582 GB, free: 416 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.295, allocations: 212 kB / 0.9584 GB, free: 172 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2953, allocations: 0.7039 MB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.2954, allocations: 12.7 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.2954, allocations: 19.42 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.2954, allocations: 0 / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.004794/0.3002, allocations: 1.939 MB / 0.961 GB, free: 13.47 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches