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.0009895/0.0009895, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.00731/0.00731, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.207/1.207, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.097/2.097, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4876, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001082/0.4887, allocations: 1.229 MB / 0.9564 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.4895, allocations: 0.7505 MB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.4896, allocations: 0 / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.4896, allocations: 4.875 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.4897, allocations: 13.34 kB / 0.9571 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.49, allocations: 109.8 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.187e-05/0.4901, allocations: 83.33 kB / 0.9573 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.4902, allocations: 17.69 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.4903, allocations: 36.23 kB / 0.9574 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.4903, allocations: 42.84 kB / 0.9574 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.4903, allocations: 7.938 kB / 0.9574 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4905, allocations: 90.06 kB / 0.9575 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.4905, allocations: 14.83 kB / 0.9575 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.4906, allocations: 56.31 kB / 0.9576 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.4907, allocations: 150.4 kB / 0.9577 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4907, allocations: 1.125 kB / 0.9577 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4907, allocations: 0 / 0.9577 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.4907, allocations: 0 / 0.9577 GB, free: 5.711 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.0004937/0.4912, allocations: 464 kB / 0.9581 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.4913, allocations: 9 kB / 0.9582 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.4913, allocations: 40.55 kB / 0.9582 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.4913, allocations: 10.22 kB / 0.9582 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.868e-05/0.4914, allocations: 177.6 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.4915, allocations: 39.59 kB / 0.9584 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.4915, allocations: 3.969 kB / 0.9584 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.4917, allocations: 89.02 kB / 0.9585 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.4917, allocations: 0 / 0.9585 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.4917, allocations: 0 / 0.9585 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.4917, allocations: 1.344 kB / 0.9585 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.4919, allocations: 53.48 kB / 0.9586 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.4922, allocations: 321.8 kB / 0.9589 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.4924, allocations: 74 kB / 0.9589 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/0.4925, allocations: 40.84 kB / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.4925, allocations: 0 / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.4927, allocations: 111.8 kB / 0.9591 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.4927, allocations: 1.125 kB / 0.9591 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003957/0.4931, allocations: 173.8 kB / 0.9592 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.4932, allocations: 52.69 kB / 0.9593 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.4932, allocations: 137.3 kB / 0.9594 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.4933, allocations: 34.78 kB / 0.9595 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.4933, allocations: 91.94 kB / 0.9595 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.4933, allocations: 23.27 kB / 0.9596 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.4933, allocations: 25.92 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.4934, allocations: 325.9 kB / 0.9599 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.4935, allocations: 34.55 kB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4936, allocations: 76.56 kB / 0.96 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.4938, allocations: 110.7 kB / 0.9601 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4938, allocations: 5.156 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002424/0.494, allocations: 135.6 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.494, allocations: 4.844 kB / 0.9603 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4941, allocations: 0.9062 kB / 0.9603 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.4941, allocations: 2.812 kB / 0.9603 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.4942, allocations: 24.88 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4942, allocations: 1.906 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.915e-05/0.4943, allocations: 26.23 kB / 0.9603 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4943, allocations: 7.891 kB / 0.9603 GB, free: 3.285 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 5.6e-05/0.4944, allocations: 125.8 kB / 0.9604 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.4944, allocations: 7.75 kB / 0.9604 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.4944, allocations: 18.31 kB / 0.9605 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4944, allocations: 1.781 kB / 0.9605 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4944, allocations: 0 / 0.9605 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4944, allocations: 1 kB / 0.9605 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.4949, allocations: 437.2 kB / 0.9609 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4949, allocations: 0 / 0.9609 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.4949, allocations: 14.8 kB / 0.9609 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.495, allocations: 1.375 kB / 0.9609 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.495, allocations: 5.375 kB / 0.9609 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.495, allocations: 3.938 kB / 0.9609 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.495, allocations: 1.375 kB / 0.9609 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.4952, allocations: 234.6 kB / 0.9611 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.4953, allocations: 87.67 kB / 0.9612 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.4953, allocations: 1.375 kB / 0.9612 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4954, allocations: 20.17 kB / 0.9612 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.4954, allocations: 13.47 kB / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4955, allocations: 2.75 kB / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.4955, allocations: 111.5 kB / 0.9614 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4955, allocations: 1.375 kB / 0.9614 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002494/0.4958, allocations: 42.23 kB / 0.9614 GB, free: 2.316 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.0005446/0.4963, allocations: 0.8225 MB / 0.9622 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.4966, allocations: 99.88 kB / 0.9623 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4966, allocations: 0 / 0.9623 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4967, allocations: 46.06 kB / 0.9623 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.4969, allocations: 19.91 kB / 0.9624 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.4982, allocations: 1.655 MB / 0.964 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.4984, allocations: 0.6997 MB / 0.9647 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.558e-05/0.4985, allocations: 5.641 kB / 0.9647 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.4986, allocations: 28.39 kB / 0.9647 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.4986, allocations: 0 / 0.9647 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.149/1.647, allocations: 2.724 MB / 0.9673 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/1.647, allocations: 250.6 kB / 0.9676 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/3.538, allocations: 0 / 0.9676 GB, free: 13.71 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