Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001475/0.001475, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.97 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002485/0.289, allocations: 1.528 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2902, allocations: 0.771 MB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.2903, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.2903, allocations: 7.922 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.2904, allocations: 15.81 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.2909, allocations: 127.6 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.291, allocations: 91.7 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.2911, allocations: 15.97 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.2912, allocations: 35.86 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.2913, allocations: 39.83 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2913, allocations: 11.98 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.2915, allocations: 95.86 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.2916, allocations: 19.91 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.2916, allocations: 47.73 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.2919, allocations: 155.6 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2919, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2919, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2919, allocations: 0 / 1.03 GB, free: 15.05 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.0007571/0.2927, allocations: 478.4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2927, allocations: 12.02 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.2928, allocations: 16.84 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2929, allocations: 176.2 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.293, allocations: 38.25 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.293, allocations: 4.375 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.2932, allocations: 81.77 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2932, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2933, allocations: 3.938 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2933, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.2935, allocations: 55.95 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.294, allocations: 308.8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.2942, allocations: 74.58 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.2944, allocations: 40.83 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2944, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.2946, allocations: 103.2 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.2946, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.00049/0.2951, allocations: 169.8 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2952, allocations: 51.41 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2953, allocations: 133.3 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2953, allocations: 29.8 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.2954, allocations: 96.3 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2954, allocations: 27.8 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.2955, allocations: 33.7 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2956, allocations: 322.8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2957, allocations: 43.91 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.2959, allocations: 69.12 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.2961, allocations: 113 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2961, allocations: 0 / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003031/0.2964, allocations: 129.4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2964, allocations: 12.12 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2965, allocations: 3.984 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2965, allocations: 3.938 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.2966, allocations: 19.92 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2966, allocations: 4 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2967, allocations: 19.89 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.2968, allocations: 8 kB / 1.032 GB, free: 12.14 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.0001011/0.2969, allocations: 127.3 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.2969, allocations: 7.906 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.2969, allocations: 20.7 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2969, allocations: 3.938 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.297, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.297, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.2976, allocations: 422.3 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2976, allocations: 0 / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.2977, allocations: 15.98 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2977, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.2977, allocations: 3.984 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2977, allocations: 3.938 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2977, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.2981, allocations: 227.4 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.2981, allocations: 93 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.2982, allocations: 0 / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2983, allocations: 19.92 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.2984, allocations: 7.984 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.2984, allocations: 4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.786e-05/0.2985, allocations: 99.27 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2985, allocations: 0 / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003321/0.2988, allocations: 47.89 kB / 1.033 GB, free: 10.96 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 (10): * Single equations (assignments): 7 * 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.0003591/0.2992, allocations: 166.9 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.2995, allocations: 91.81 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2995, allocations: 256 / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2996, allocations: 51.92 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.2999, allocations: 16.27 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.3004, allocations: 203.7 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3007, allocations: 0.6963 MB / 1.034 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.135e-05/0.3008, allocations: 8.656 kB / 1.034 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.3008, allocations: 15.44 kB / 1.034 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3008, allocations: 0 / 1.034 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of Templates: time 0.004684/0.3055, allocations: 1.809 MB / 1.036 GB, free: 7.875 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches