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 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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006839/0.006839, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001618/0.001618, allocations: 190.7 kB / 16.79 MB, free: 5.809 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.324/1.324, allocations: 222.9 MB / 240.5 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.632/2.632, allocations: 461.8 MB / 0.7348 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 60.34 kB / 0.899 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2813, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003075/0.2844, allocations: 1.56 MB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.286, allocations: 0.7711 MB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.2861, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.806e-05/0.2862, allocations: 3.938 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2864, allocations: 11.88 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.2871, allocations: 103.8 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.2872, allocations: 87.7 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2874, allocations: 7.984 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2875, allocations: 35.91 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.2876, allocations: 35.84 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.2876, allocations: 7.984 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.2878, allocations: 91.8 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.2879, allocations: 19.91 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.2879, allocations: 35.86 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.2882, allocations: 112 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2882, allocations: 0 / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2882, allocations: 0 / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2882, allocations: 0 / 1.056 GB, free: 5.387 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008034/0.289, allocations: 454.7 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.289, allocations: 8.031 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.2891, allocations: 8.844 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.2893, allocations: 176.2 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.2893, allocations: 12.31 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.2893, allocations: 8.359 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.2895, allocations: 77.95 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2896, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2896, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2896, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.2897, allocations: 43.97 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.2903, allocations: 328.5 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.2905, allocations: 66.55 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.2906, allocations: 32.83 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.2906, allocations: 4 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.2909, allocations: 95.39 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.2909, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004223/0.2913, allocations: 153.8 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.2914, allocations: 59.48 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2915, allocations: 129.8 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2915, allocations: 29.7 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.2916, allocations: 100.3 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.2916, allocations: 15.81 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.2917, allocations: 33.7 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2918, allocations: 326.7 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.2919, allocations: 27.98 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/0.292, allocations: 69.12 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.2922, allocations: 101 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2922, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002584/0.2925, allocations: 133.4 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2925, allocations: 4 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2925, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2925, allocations: 4 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2926, allocations: 15.98 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2927, allocations: 3.984 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.2928, allocations: 19.78 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.2928, allocations: 8 kB / 1.058 GB, free: 2.613 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.2929, allocations: 127.8 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.2929, allocations: 11.91 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.2933, allocations: 149.9 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2933, allocations: 8.078 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2933, allocations: 3.938 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2933, allocations: 0 / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.2939, allocations: 426.5 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.294, allocations: 0 / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.294, allocations: 15.92 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.294, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.2941, allocations: 4 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2941, allocations: 3.984 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2941, allocations: 3.938 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.2944, allocations: 227.4 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.2945, allocations: 88.95 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.2945, allocations: 3.984 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2946, allocations: 8 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.2947, allocations: 15.92 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.2947, allocations: 7.984 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.2948, allocations: 97.39 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2948, allocations: 3.938 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000327/0.2951, allocations: 44 kB / 1.059 GB, free: 1.285 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 (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 (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.0003849/0.2955, allocations: 154.7 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.2958, allocations: 87.83 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2958, allocations: 4.25 kB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.2959, allocations: 51.91 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.2962, allocations: 16.97 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.2967, allocations: 255.1 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2971, allocations: 0.6926 MB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.2971, allocations: 15.44 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2971, allocations: 0 / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.003964/0.3011, allocations: 1.828 MB / 1.062 GB, free: 14.14 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (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 & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches