Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.286/2.286, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001465, allocations: 178.9 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.943/2.943, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001368/0.001369, allocations: 90.31 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 7.938 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2872, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002066/0.2894, allocations: 1.223 MB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2909, allocations: 0.8031 MB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.2911, allocations: 0 / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.2911, allocations: 3.938 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.2913, allocations: 7.922 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.2919, allocations: 111.8 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.2921, allocations: 75.78 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2922, allocations: 11.98 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.2924, allocations: 39.78 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.2925, allocations: 31.84 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2925, allocations: 4 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.2928, allocations: 87.91 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.2928, allocations: 19.91 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.894e-05/0.2929, allocations: 65.5 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.2932, allocations: 135.7 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2932, allocations: 0 / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2932, allocations: 0 / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2932, allocations: 0 / 0.9035 GB, free: 60.77 MB / 0.6042 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.0007459/0.294, allocations: 454.9 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.294, allocations: 12.03 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.2941, allocations: 38.67 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.2941, allocations: 12.84 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2943, allocations: 180.2 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2943, allocations: 384 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.2943, allocations: 12.31 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2945, allocations: 77.77 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2945, allocations: 0 / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2946, allocations: 0 / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2946, allocations: 4 kB / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2947, allocations: 47.97 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.2953, allocations: 324.7 kB / 0.9046 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.2954, allocations: 62.56 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.2955, allocations: 40.83 kB / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.2956, allocations: 0 / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.2958, allocations: 103.4 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.2958, allocations: 0 / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004037/0.2962, allocations: 157.5 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2963, allocations: 59.39 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2964, allocations: 129.8 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2965, allocations: 29.7 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.2965, allocations: 96.73 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.2965, allocations: 27.8 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.2965, allocations: 4 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.2966, allocations: 322.8 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.2967, allocations: 35.92 kB / 0.9056 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.2968, allocations: 71.38 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.297, allocations: 105 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.297, allocations: 4 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002496/0.2972, allocations: 125.4 kB / 0.9059 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2973, allocations: 8 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.2973, allocations: 0 / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2973, allocations: 4 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2974, allocations: 19.98 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.2975, allocations: 128 / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2976, allocations: 19.98 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2976, allocations: 4 kB / 0.9059 GB, free: 57.96 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.2977, allocations: 139.8 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.2977, allocations: 7.906 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.2981, allocations: 162 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2981, allocations: 0 / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2981, allocations: 4 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2981, allocations: 3.938 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.2987, allocations: 430.3 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2987, allocations: 0 / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.39e-05/0.2988, allocations: 19.92 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2988, allocations: 0 / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.2988, allocations: 4 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2988, allocations: 3.938 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2988, allocations: 3.984 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.2991, allocations: 227.4 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.2992, allocations: 85.02 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.2992, allocations: 7.984 kB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2993, allocations: 11.94 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.2994, allocations: 7.984 kB / 0.907 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.2994, allocations: 11.98 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.2995, allocations: 95.27 kB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2995, allocations: 4 kB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003435/0.2998, allocations: 43.94 kB / 0.9072 GB, free: 56.61 MB / 0.6042 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 (12): * Single equations (assignments): 9 * 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.0009131/0.3008, allocations: 0.8283 MB / 0.908 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.301, allocations: 87.89 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3011, allocations: 0 / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3012, allocations: 43.92 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3015, allocations: 25.67 kB / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3032, allocations: 1.623 MB / 0.9097 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.3034, allocations: 0.6926 MB / 0.9104 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.508e-05/0.3035, allocations: 8.609 kB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.3036, allocations: 31.42 kB / 0.9104 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.3036, allocations: 4 kB / 0.9104 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.3203, allocations: 2.74 MB / 0.9131 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.3206, allocations: 270.4 kB / 0.9133 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/2.912, allocations: 4 kB / 0.9134 GB, free: 50.19 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)