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: "" <> 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.006995/0.006995, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001586/0.001586, allocations: 183.9 kB / 16.67 MB, free: 5.965 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.438/2.438, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 58.03 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2871, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002508/0.2896, allocations: 1.513 MB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2909, allocations: 0.7686 MB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.291, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.291, allocations: 7.875 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.2911, allocations: 19.84 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.2916, allocations: 127.6 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.2918, allocations: 91.69 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2919, allocations: 11.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.292, allocations: 39.84 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.2921, allocations: 39.83 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2921, allocations: 8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2923, allocations: 99.84 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.2923, allocations: 23.91 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.2924, allocations: 39.8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.2926, allocations: 150.5 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2926, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2926, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.2927, allocations: 3.984 kB / 1.09 GB, free: 15.1 MB / 0.8575 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.0007754/0.2934, allocations: 475.2 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2935, allocations: 12.03 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.2935, allocations: 38.75 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.2936, allocations: 8.844 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2937, allocations: 184.2 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.288e-05/0.2938, allocations: 30.27 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2938, allocations: 8.375 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.294, allocations: 81.52 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2941, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2941, allocations: 3.984 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2941, allocations: 11.98 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.2943, allocations: 43.97 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.2948, allocations: 320.7 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.295, allocations: 74.58 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.2952, allocations: 36.83 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2952, allocations: 4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.2954, allocations: 99.44 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.2955, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004834/0.2959, allocations: 173.5 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.296, allocations: 55.41 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2961, allocations: 136.4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2962, allocations: 25.7 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.2962, allocations: 96.36 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.2963, allocations: 23.66 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.2963, allocations: 33.7 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2964, allocations: 330.8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2966, allocations: 31.98 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2967, allocations: 65.12 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.2969, allocations: 109 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2969, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002908/0.2972, allocations: 141.5 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2972, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2973, allocations: 3.938 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2973, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2974, allocations: 19.92 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2974, allocations: 3.984 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2975, allocations: 15.89 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.2975, allocations: 8 kB / 1.093 GB, free: 12.15 MB / 0.8575 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 0.0001153/0.2977, allocations: 133.7 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.2977, allocations: 7.906 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.2977, allocations: 8.719 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2977, allocations: 4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2978, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2978, allocations: 3.984 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.2984, allocations: 422.7 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2984, allocations: 4.094 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.2984, allocations: 15.92 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2985, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2985, allocations: 4.094 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.2985, allocations: 7.922 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2985, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.2988, allocations: 235.2 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.2989, allocations: 85.02 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2989, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.299, allocations: 11.92 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.2991, allocations: 19.97 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.2991, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.2992, allocations: 103.3 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2992, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003039/0.2995, allocations: 43.98 kB / 1.094 GB, free: 10.96 MB / 0.8575 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.0009295/0.3004, allocations: 0.8372 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.3007, allocations: 87.88 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3007, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3009, allocations: 51.91 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3012, allocations: 16.17 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3032, allocations: 1.622 MB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3035, allocations: 0.6924 MB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.733e-05/0.3036, allocations: 8.672 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.3037, allocations: 31.42 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.3037, allocations: 0 / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.3334, allocations: 3.116 MB / 1.1 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.598, allocations: 0 / 1.1 GB, free: 4.469 MB / 0.8575 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