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.0007968/0.0007968, allocations: 92.62 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 179.6 kB / 16.92 MB, free: 6.656 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 10.31 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2994, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001785/0.3012, allocations: 1.244 MB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3026, allocations: 0.7478 MB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.3027, allocations: 4 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.3027, allocations: 3.938 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3028, allocations: 19.86 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.3034, allocations: 103.8 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3035, allocations: 79.77 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.3036, allocations: 15.92 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3037, allocations: 35.91 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.3038, allocations: 35.78 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3039, allocations: 4 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.3041, allocations: 91.91 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.3041, allocations: 19.91 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.3042, allocations: 65.48 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3044, allocations: 108 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3044, allocations: 0 / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3044, allocations: 0 / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3044, allocations: 0 / 1.062 GB, free: 2.355 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.0007823/0.3052, allocations: 470.6 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3053, allocations: 8.031 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.3053, allocations: 12.84 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3055, allocations: 172.2 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.3056, allocations: 34.25 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3056, allocations: 8.375 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3058, allocations: 81.77 kB / 1.063 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3058, allocations: 3.938 kB / 1.063 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3058, allocations: 4 kB / 1.063 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3059, allocations: 4 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.3061, allocations: 51.89 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.3066, allocations: 324.7 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.3069, allocations: 86.48 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.307, allocations: 40.84 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.307, allocations: 0 / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.3073, allocations: 95.34 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.3074, allocations: 0 / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005582/0.3079, allocations: 173.5 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.308, allocations: 63.39 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3081, allocations: 133.1 kB / 1.064 GB, free: 424 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3082, allocations: 29.7 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.3082, allocations: 92.28 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3083, allocations: 23.73 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.3083, allocations: 17.72 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3085, allocations: 334.7 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3086, allocations: 35.97 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.3088, allocations: 61.14 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.309, allocations: 117 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3091, allocations: 0 / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003329/0.3094, allocations: 149.3 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3094, allocations: 4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3094, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3095, allocations: 4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3096, allocations: 19.92 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3096, allocations: 8.109 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3097, allocations: 15.98 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3098, allocations: 8 kB / 1.064 GB, free: 15.44 MB / 0.8262 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 9.955e-05/0.3099, allocations: 123.9 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.3099, allocations: 7.906 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.3099, allocations: 12.66 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3099, allocations: 4 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.31, allocations: 7.938 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.31, allocations: 3.984 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.3106, allocations: 434.4 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3106, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.3107, allocations: 23.98 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3107, allocations: 0 / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3108, allocations: 4 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.3108, allocations: 11.86 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3108, allocations: 0 / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.3111, allocations: 231.3 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.3112, allocations: 85.02 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.3112, allocations: 3.984 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3114, allocations: 11.94 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.3114, allocations: 15.97 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3115, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.3115, allocations: 99.27 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3115, allocations: 8 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00033/0.3119, allocations: 39.98 kB / 1.065 GB, free: 14.23 MB / 0.8262 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.0003806/0.3123, allocations: 161.6 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.3126, allocations: 95.89 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3126, allocations: 0 / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3127, allocations: 51.91 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3131, allocations: 11.98 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.3136, allocations: 261 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3138, allocations: 0.6926 MB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.3139, allocations: 15.38 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of SimCode: time 1.724e-06/0.3139, allocations: 4 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.003901/0.3178, allocations: 1.855 MB / 1.069 GB, free: 11.05 MB / 0.8262 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 -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