Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.62/2.62, allocations: 287.3 MB / 302.3 MB, free: 8.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00227/0.00227, allocations: 189.4 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 101.5 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007382/0.0007387, allocations: 14.22 kB / 0.8657 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2972, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001789/0.299, allocations: 1.211 MB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3006, allocations: 0.7464 MB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.3007, allocations: 0 / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.3008, allocations: 7.938 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3009, allocations: 19.91 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.3014, allocations: 95.75 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.3016, allocations: 55.81 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.3017, allocations: 11.98 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3018, allocations: 35.91 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.355e-05/0.3019, allocations: 39.83 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3019, allocations: 4 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3021, allocations: 63.94 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.3022, allocations: 15.91 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.3022, allocations: 41.64 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3024, allocations: 108 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3025, allocations: 0 / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3025, allocations: 0 / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3025, allocations: 0 / 0.9807 GB, free: 25.82 MB / 0.6198 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.0008557/0.3033, allocations: 470.4 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3034, allocations: 16.02 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.3035, allocations: 30.56 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.3035, allocations: 11.86 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3036, allocations: 186.9 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/0.3037, allocations: 33.7 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3038, allocations: 7.984 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.3041, allocations: 81.58 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3041, allocations: 3.938 kB / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3042, allocations: 0 / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3042, allocations: 0 / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.3045, allocations: 63.95 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.3051, allocations: 328.6 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.3055, allocations: 70.55 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3055, allocations: 0 / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/0.3058, allocations: 103.4 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.3059, allocations: 0 / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007081/0.3066, allocations: 177.4 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3066, allocations: 51.41 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3067, allocations: 132.1 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3068, allocations: 29.7 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.3068, allocations: 96.52 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3069, allocations: 23.64 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.3069, allocations: 8 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.307, allocations: 322.8 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3071, allocations: 31.97 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.3073, allocations: 71 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.3075, allocations: 43.92 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3076, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000491/0.3081, allocations: 141.5 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3081, allocations: 9.656 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3081, allocations: 4 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.3081, allocations: 3.953 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3083, allocations: 15.98 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3084, allocations: 7.984 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.3086, allocations: 16.28 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.3086, allocations: 16.05 kB / 0.9832 GB, free: 23 MB / 0.6198 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3087, allocations: 117.8 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.3087, allocations: 7.906 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.3088, allocations: 16.66 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3088, allocations: 0 / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3088, allocations: 3.953 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3088, allocations: 3.984 kB / 0.9833 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.3097, allocations: 434.3 kB / 0.9837 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3097, allocations: 0 / 0.9837 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3098, allocations: 11.98 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3098, allocations: 8.047 kB / 0.9837 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3099, allocations: 3.938 kB / 0.9837 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3099, allocations: 4 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3099, allocations: 7.969 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.3104, allocations: 227.3 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.3104, allocations: 85.02 kB / 0.984 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.3105, allocations: 3.953 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.3107, allocations: 15.98 kB / 0.9841 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.3108, allocations: 15.97 kB / 0.9841 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.3108, allocations: 4 kB / 0.9841 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.362e-05/0.3109, allocations: 100.8 kB / 0.9842 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3109, allocations: 0 / 0.9842 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004377/0.3113, allocations: 43.98 kB / 0.9842 GB, free: 21.82 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.3124, allocations: 0.8237 MB / 0.985 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.3128, allocations: 95.81 kB / 0.9851 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3129, allocations: 0 / 0.9851 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3131, allocations: 43.97 kB / 0.9852 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3134, allocations: 26.02 kB / 0.9852 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.3145, allocations: 1.218 MB / 0.9864 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3146, allocations: 0.6965 MB / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.112e-05/0.3147, allocations: 8.672 kB / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.3148, allocations: 27.61 kB / 0.9871 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.3148, allocations: 4 kB / 0.9871 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.3419, allocations: 2.715 MB / 0.9897 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.3422, allocations: 232.5 kB / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/2.876, allocations: 0 / 0.99 GB, free: 15.96 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)