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.0008254/0.0008255, allocations: 88.77 kB / 16.02 MB, free: 80 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.001008/0.001008, allocations: 180.8 kB / 16.92 MB, free: 6.23 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.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.594/2.594, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003712, allocations: 8.219 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6551, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001742/0.6569, allocations: 1.223 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.6583, allocations: 0.7597 MB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.6583, allocations: 0 / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.6584, allocations: 3.938 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.6585, allocations: 11.92 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.659, allocations: 103.8 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.6591, allocations: 87.69 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.6592, allocations: 12 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.6594, allocations: 35.86 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.6594, allocations: 39.81 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.6595, allocations: 4 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.6597, allocations: 95.78 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.6597, allocations: 11.98 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.6598, allocations: 61.5 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.66, allocations: 109.8 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.66, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.66, allocations: 4 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.66, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 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.000763/0.6608, allocations: 466.5 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.6608, allocations: 12.03 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.6609, allocations: 8.844 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.661, allocations: 180.2 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.142e-05/0.6611, allocations: 42.23 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.6612, allocations: 12.31 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.6614, allocations: 73.77 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.6614, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.6614, allocations: 8 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6614, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.6616, allocations: 51.95 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.6622, allocations: 332.6 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.6624, allocations: 74.53 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.6625, allocations: 36.84 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.6626, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.6628, allocations: 107.3 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.6628, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004899/0.6633, allocations: 169.5 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.6634, allocations: 55.41 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.6635, allocations: 140 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.6635, allocations: 29.7 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.6636, allocations: 96.36 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.6636, allocations: 19.72 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.6637, allocations: 21.7 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6638, allocations: 322.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.6639, allocations: 31.98 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.664, allocations: 73.12 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.6643, allocations: 113 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6643, allocations: 4 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003195/0.6646, allocations: 137.5 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6647, allocations: 8 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6647, allocations: 4 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6647, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.6648, allocations: 15.98 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6648, allocations: 11.92 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.665, allocations: 19.83 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.665, allocations: 8 kB / 1.029 GB, free: 10.36 MB / 0.7794 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.818e-05/0.6651, allocations: 135.8 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.6651, allocations: 7.906 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.6652, allocations: 12.81 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6652, allocations: 3.984 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6652, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6652, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.6658, allocations: 446.7 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6658, allocations: 0 / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.6659, allocations: 19.92 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6659, allocations: 0 / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.6659, allocations: 4 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.666, allocations: 3.938 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.666, allocations: 4 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.6663, allocations: 231.3 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.6664, allocations: 85.02 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.6664, allocations: 0 / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.6665, allocations: 19.92 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.6666, allocations: 15.98 kB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6666, allocations: 7.984 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.771e-05/0.6667, allocations: 105.9 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6667, allocations: 0 / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003116/0.667, allocations: 43.98 kB / 1.03 GB, free: 9.137 MB / 0.7794 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.0003346/0.6673, allocations: 156.9 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.6676, allocations: 91.83 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6677, allocations: 4 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.6678, allocations: 52.16 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.6681, allocations: 16.69 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.6686, allocations: 256.8 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.6689, allocations: 0.6965 MB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.669, allocations: 11.44 kB / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.669, allocations: 0 / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of Templates: time 0.003754/0.6727, allocations: 1.846 MB / 1.033 GB, free: 5.973 MB / 0.7794 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 -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