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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.000996, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009634/0.0009634, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.532, allocations: 140.3 MB / 0.949 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002124/0.5342, allocations: 1.579 MB / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.5352, allocations: 0.7612 MB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.5352, allocations: 1.156 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.5353, allocations: 7.922 kB / 0.9513 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.5353, allocations: 15 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.5357, allocations: 105.1 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.352e-05/0.5358, allocations: 79.17 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.342e-05/0.5359, allocations: 17.59 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.536, allocations: 40.19 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.536, allocations: 42.95 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.5361, allocations: 4.438 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.5362, allocations: 89.84 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.5362, allocations: 23.78 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.5363, allocations: 34.55 kB / 0.9518 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.5365, allocations: 147.4 kB / 0.9519 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5365, allocations: 3.938 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5365, allocations: 1.031 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.5365, allocations: 0 / 0.9519 GB, free: 7 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.0006177/0.5371, allocations: 471 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5372, allocations: 9.969 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.66e-05/0.5372, allocations: 35.97 kB / 0.9524 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.5372, allocations: 14.73 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.89e-05/0.5373, allocations: 183.5 kB / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.5374, allocations: 34.31 kB / 0.9526 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.5374, allocations: 9.312 kB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.5376, allocations: 87.66 kB / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.5376, allocations: 0 / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5377, allocations: 4 kB / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5377, allocations: 2 kB / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.5379, allocations: 41.03 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.5383, allocations: 331 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.5385, allocations: 75.14 kB / 0.9531 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5386, allocations: 38.3 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.5386, allocations: 0.875 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.5388, allocations: 94.08 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.5389, allocations: 1.219 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004534/0.5393, allocations: 167.2 kB / 0.9534 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.5394, allocations: 61.53 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.5394, allocations: 135.7 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.5395, allocations: 30.86 kB / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.5395, allocations: 99.67 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.5395, allocations: 23.2 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.5396, allocations: 35.67 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.5396, allocations: 325.5 kB / 0.9541 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.5397, allocations: 33.47 kB / 0.9541 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.5398, allocations: 70.16 kB / 0.9542 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.54, allocations: 107.9 kB / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.54, allocations: 0 / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002618/0.5403, allocations: 130.8 kB / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5403, allocations: 7.156 kB / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5404, allocations: 0 / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5404, allocations: 2.625 kB / 0.9545 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.5405, allocations: 27.66 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5405, allocations: 6.969 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.5406, allocations: 15.17 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.5406, allocations: 3.781 kB / 0.9545 GB, free: 4.562 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 6.266e-05/0.5407, allocations: 129.8 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.5407, allocations: 7.625 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.5407, allocations: 14.23 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5408, allocations: 1.25 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.5408, allocations: 5.469 kB / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5408, allocations: 96 / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.5413, allocations: 424.1 kB / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5413, allocations: 0 / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.5413, allocations: 10.3 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5414, allocations: 0.9375 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5414, allocations: 10.11 kB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5414, allocations: 11.88 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5414, allocations: 1.125 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.5417, allocations: 222.8 kB / 0.9553 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.5417, allocations: 83.45 kB / 0.9554 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.5417, allocations: 5.234 kB / 0.9554 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.5419, allocations: 18.14 kB / 0.9554 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.5419, allocations: 20.98 kB / 0.9554 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.5419, allocations: 2.938 kB / 0.9554 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.542, allocations: 103.1 kB / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.542, allocations: 3.938 kB / 0.9555 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002988/0.5423, allocations: 46.61 kB / 0.9556 GB, free: 3.59 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.0006512/0.543, allocations: 0.8102 MB / 0.9564 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.5432, allocations: 92.48 kB / 0.9565 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5432, allocations: 0 / 0.9565 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.5434, allocations: 47.28 kB / 0.9565 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5437, allocations: 23.17 kB / 0.9565 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.5451, allocations: 1.633 MB / 0.9581 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.5452, allocations: 0.6931 MB / 0.9588 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.851e-05/0.5453, allocations: 14.25 kB / 0.9588 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.5453, allocations: 23.95 kB / 0.9588 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5453, allocations: 0 / 0.9588 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5558/1.101, allocations: 2.821 MB / 0.9616 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/1.101, allocations: 254.9 kB / 0.9618 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.848, allocations: 0 / 0.9618 GB, free: 14.89 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > 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/jenkins1/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