Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Love1998Light2,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.0008561/0.0008561, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005184/0.005185, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005916/0.0005916, allocations: 11.41 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.289, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001855/0.291, allocations: 1.239 MB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2925, allocations: 0.7724 MB / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.2925, allocations: 0 / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.2926, allocations: 7.922 kB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.663e-05/0.2927, allocations: 7.875 kB / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.2933, allocations: 103.8 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2934, allocations: 87.7 kB / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2935, allocations: 11.98 kB / 0.7902 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2937, allocations: 35.84 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.2938, allocations: 35.83 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2938, allocations: 4 kB / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.2941, allocations: 95.84 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.2941, allocations: 11.92 kB / 0.7903 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.2942, allocations: 61.56 kB / 0.7904 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.2945, allocations: 139.8 kB / 0.7905 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2946, allocations: 0 / 0.7905 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2946, allocations: 0 / 0.7905 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2946, allocations: 0 / 0.7905 GB, free: 8.836 MB / 0.6075 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.0008613/0.2954, allocations: 454.7 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.2955, allocations: 12.03 kB / 0.791 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.2956, allocations: 30.75 kB / 0.791 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.2956, allocations: 16.83 kB / 0.791 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.2959, allocations: 184.2 kB / 0.7912 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2959, allocations: 384 / 0.7912 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.2959, allocations: 4.375 kB / 0.7912 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.2962, allocations: 85.7 kB / 0.7913 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2962, allocations: 0 / 0.7913 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2962, allocations: 0 / 0.7913 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2963, allocations: 4 kB / 0.7913 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.2964, allocations: 51.91 kB / 0.7913 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.297, allocations: 320.6 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.2972, allocations: 70.55 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.2973, allocations: 32.84 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2974, allocations: 96 / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.2976, allocations: 99.3 kB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.2976, allocations: 4 kB / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004631/0.2981, allocations: 165.5 kB / 0.792 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.2982, allocations: 51.56 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.2983, allocations: 129.1 kB / 0.7922 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2984, allocations: 29.7 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.2984, allocations: 100.2 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.2985, allocations: 19.81 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.2985, allocations: 29.64 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2987, allocations: 318.8 kB / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.2988, allocations: 27.98 kB / 0.7927 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2989, allocations: 77.06 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2991, allocations: 101.1 kB / 0.7928 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2991, allocations: 0 / 0.7928 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000275/0.2994, allocations: 133.4 kB / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2994, allocations: 4 kB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2994, allocations: 4.078 kB / 0.793 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2995, allocations: 8.359 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2996, allocations: 19.92 kB / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2996, allocations: 0 / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2997, allocations: 27.97 kB / 0.793 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2998, allocations: 11.92 kB / 0.793 GB, free: 5.984 MB / 0.6075 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.0001187/0.2999, allocations: 121.8 kB / 0.7932 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.2999, allocations: 7.906 kB / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.3003, allocations: 153.9 kB / 0.7933 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3003, allocations: 7.938 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3003, allocations: 0 / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3003, allocations: 0 / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.3009, allocations: 442.2 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3009, allocations: 4 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.301, allocations: 8 kB / 0.7938 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.301, allocations: 0 / 0.7938 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.301, allocations: 11.98 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3011, allocations: 3.938 kB / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3011, allocations: 0 / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.3014, allocations: 227.4 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.3014, allocations: 92.94 kB / 0.7941 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3015, allocations: 0 / 0.7941 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3016, allocations: 23.92 kB / 0.7941 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.3016, allocations: 7.984 kB / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3017, allocations: 4 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.3017, allocations: 99.27 kB / 0.7942 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3017, allocations: 0 / 0.7942 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000312/0.3021, allocations: 44 kB / 0.7942 GB, free: 4.645 MB / 0.6075 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.0009637/0.303, allocations: 0.8318 MB / 0.7951 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.3033, allocations: 83.98 kB / 0.7951 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3034, allocations: 0 / 0.7951 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3035, allocations: 55.91 kB / 0.7952 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.304, allocations: 21.92 kB / 0.7952 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.3063, allocations: 1.632 MB / 0.7968 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3066, allocations: 0.6965 MB / 0.7975 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.175e-05/0.3067, allocations: 8.422 kB / 0.7975 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.3068, allocations: 27.42 kB / 0.7975 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.3068, allocations: 0 / 0.7975 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.3283, allocations: 2.721 MB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.3286, allocations: 249.7 kB / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.021, allocations: 0 / 0.8004 GB, free: 14.32 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)