Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_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_10_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.001352/0.001352, allocations: 112.6 kB / 16.37 MB, free: 5.539 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.001488/0.001488, allocations: 193.8 kB / 17.31 MB, free: 5.18 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.388/1.388, 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 10.1.0-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.34 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002725/0.3026, allocations: 1.521 MB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3038, allocations: 0.7726 MB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.3039, allocations: 0 / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.304, allocations: 7.922 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.3041, allocations: 15.86 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.3046, allocations: 123.6 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3047, allocations: 99.69 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.3048, allocations: 7.984 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.3049, allocations: 39.86 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.305, allocations: 43.81 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.305, allocations: 8 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3052, allocations: 95.91 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3052, allocations: 19.86 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.3053, allocations: 43.8 kB / 1.022 GB, free: 7.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.3055, allocations: 151.6 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3056, allocations: 3.938 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3056, allocations: 0 / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3056, allocations: 0 / 1.022 GB, free: 6.918 MB / 0.795 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.0007491/0.3063, allocations: 470.5 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.3064, allocations: 8.031 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.3064, allocations: 24.83 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3066, allocations: 176.2 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.3066, allocations: 38.19 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3067, allocations: 8.375 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3069, allocations: 77.77 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3069, allocations: 0 / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3069, allocations: 4 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3069, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3071, allocations: 47.97 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.3076, allocations: 320.7 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3078, allocations: 70.48 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3079, allocations: 44.83 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.308, allocations: 0 / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.3082, allocations: 111.4 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.3082, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004648/0.3087, allocations: 165.5 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.3087, allocations: 59.41 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3088, allocations: 128.4 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3089, allocations: 33.7 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.3089, allocations: 92.36 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.3089, allocations: 23.66 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.309, allocations: 33.7 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.3091, allocations: 322.8 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3092, allocations: 39.97 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3093, allocations: 69.56 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.3096, allocations: 109 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3096, allocations: 4 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002851/0.3099, allocations: 133.4 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3099, allocations: 12.12 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3099, allocations: 4 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3099, allocations: 3.984 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.31, allocations: 15.98 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3101, allocations: 4 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.3102, allocations: 15.89 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3102, allocations: 7.938 kB / 1.024 GB, free: 4.012 MB / 0.795 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 8.943e-05/0.3103, allocations: 128.2 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3103, allocations: 7.906 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.3104, allocations: 16.7 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3104, allocations: 384 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3104, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3104, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.311, allocations: 430.2 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.311, allocations: 4 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/0.3111, allocations: 15.92 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3111, allocations: 0 / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3111, allocations: 7.984 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3111, allocations: 3.938 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3111, allocations: 0 / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.3115, allocations: 227.3 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.3115, allocations: 85.02 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3115, allocations: 3.984 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.3117, allocations: 15.92 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3117, allocations: 11.98 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3117, allocations: 4 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.838e-05/0.3118, allocations: 99.27 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3118, allocations: 0 / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003079/0.3121, allocations: 43.98 kB / 1.025 GB, free: 2.832 MB / 0.795 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.0003083/0.3124, allocations: 162.9 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.3127, allocations: 95.81 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3127, allocations: 256 / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3129, allocations: 43.98 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3132, allocations: 19.98 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.3136, allocations: 207.6 kB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.3139, allocations: 0.6963 MB / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.548e-05/0.3139, allocations: 4.672 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.3139, allocations: 19.42 kB / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.314, allocations: 0 / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of Templates: time 0.004377/0.3183, allocations: 1.816 MB / 1.028 GB, free: 15.74 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches