Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Hunt1979Light,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.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_9_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.001114/0.001114, allocations: 108 kB / 15.61 MB, free: 152 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.001164/0.001164, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.2 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7585, allocations: 140.3 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002516/0.761, allocations: 1.519 MB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.7622, allocations: 0.76 MB / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.7623, allocations: 0 / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.7624, allocations: 5.344 kB / 0.9518 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.7624, allocations: 13.41 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.763, allocations: 131.5 kB / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.7631, allocations: 87.42 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.7632, allocations: 21.77 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.7633, allocations: 40.73 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.7634, allocations: 38.48 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.7634, allocations: 6.906 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.7636, allocations: 99.31 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.7637, allocations: 23.94 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.7637, allocations: 38.08 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.764, allocations: 154.5 kB / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.764, allocations: 0.875 kB / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.764, allocations: 0 / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.764, allocations: 0 / 0.9524 GB, free: 6.918 MB / 0.7169 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.0007953/0.7648, allocations: 472.5 kB / 0.9529 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.7649, allocations: 13.16 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.7649, allocations: 9.844 kB / 0.9529 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.7651, allocations: 177.4 kB / 0.9531 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.7652, allocations: 39.33 kB / 0.9531 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.7652, allocations: 8.141 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.7654, allocations: 75.41 kB / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.7654, allocations: 0 / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.7655, allocations: 5.203 kB / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.7655, allocations: 9.25 kB / 0.9532 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.7657, allocations: 45.44 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.7662, allocations: 327.2 kB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.7664, allocations: 71.95 kB / 0.9536 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.7666, allocations: 45.38 kB / 0.9537 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.7666, allocations: 1.469 kB / 0.9537 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.7669, allocations: 95.08 kB / 0.9538 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.7669, allocations: 0 / 0.9538 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005311/0.7674, allocations: 170.9 kB / 0.9539 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.7675, allocations: 53.66 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.7676, allocations: 141.3 kB / 0.9541 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.7676, allocations: 34.95 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.7677, allocations: 92.2 kB / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.7677, allocations: 23.33 kB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.7678, allocations: 35.27 kB / 0.9543 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.7679, allocations: 325.7 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.768, allocations: 33.12 kB / 0.9546 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.7681, allocations: 69.56 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.7683, allocations: 107.8 kB / 0.9548 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7683, allocations: 0 / 0.9548 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000289/0.7686, allocations: 135.2 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7687, allocations: 6.656 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.7687, allocations: 1.438 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.7687, allocations: 2.062 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.7688, allocations: 18.97 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7688, allocations: 2.156 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.769, allocations: 19.67 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.769, allocations: 9 kB / 0.955 GB, free: 4.527 MB / 0.7169 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 7.893e-05/0.7691, allocations: 124.7 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.7691, allocations: 8.188 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.7691, allocations: 15 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7691, allocations: 5.094 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7691, allocations: 3.984 kB / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.7691, allocations: 1.031 kB / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.7697, allocations: 424.4 kB / 0.9555 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7697, allocations: 4 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.7698, allocations: 14.7 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7698, allocations: 1.156 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.7698, allocations: 5.141 kB / 0.9556 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7698, allocations: 3.938 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7698, allocations: 1.094 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.7701, allocations: 226.8 kB / 0.9558 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.7701, allocations: 84.52 kB / 0.9559 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.7702, allocations: 5.078 kB / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.7703, allocations: 17.58 kB / 0.9559 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.7704, allocations: 8.672 kB / 0.9559 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.7704, allocations: 7.422 kB / 0.9559 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.7704, allocations: 112 kB / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7704, allocations: 0 / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003035/0.7708, allocations: 43.3 kB / 0.956 GB, free: 3.559 MB / 0.7169 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.0003113/0.7711, allocations: 162.3 kB / 0.9562 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.7714, allocations: 91.77 kB / 0.9563 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7714, allocations: 5.469 kB / 0.9563 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.7715, allocations: 46.19 kB / 0.9563 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.7718, allocations: 17.2 kB / 0.9564 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.7723, allocations: 212.7 kB / 0.9566 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.7724, allocations: 0.6926 MB / 0.9572 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.7725, allocations: 8.203 kB / 0.9572 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.7725, allocations: 22.48 kB / 0.9573 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.7725, allocations: 0 / 0.9573 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.005072/0.7776, allocations: 1.811 MB / 0.959 GB, free: 1.547 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches