Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.0009616/0.0009615, allocations: 98.27 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.008345/0.008345, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.272/1.272, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.549/1.549, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0006342/0.0006343, allocations: 16.45 kB / 0.6744 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2701, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001789/0.272, allocations: 1.231 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2734, allocations: 0.78 MB / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.2734, allocations: 0 / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.2735, allocations: 3.938 kB / 0.79 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2736, allocations: 19.86 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.2741, allocations: 107.8 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.2742, allocations: 79.72 kB / 0.7902 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.2743, allocations: 11.97 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.2744, allocations: 31.92 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.2745, allocations: 31.84 kB / 0.7902 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2745, allocations: 4 kB / 0.7902 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.2747, allocations: 95.84 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.2748, allocations: 19.91 kB / 0.7903 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.2749, allocations: 57.55 kB / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.2751, allocations: 135.9 kB / 0.7905 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2751, allocations: 3.938 kB / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2751, allocations: 0 / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2751, allocations: 4 kB / 0.7905 GB, free: 8.844 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.000724/0.2759, allocations: 454.7 kB / 0.791 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2759, allocations: 12.03 kB / 0.791 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.276, allocations: 38.69 kB / 0.791 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.276, allocations: 8.844 kB / 0.791 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2762, allocations: 172.3 kB / 0.7912 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2762, allocations: 8.359 kB / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.2762, allocations: 8.375 kB / 0.7912 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.2764, allocations: 73.78 kB / 0.7913 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2764, allocations: 0 / 0.7913 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2764, allocations: 7.984 kB / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2765, allocations: 7.938 kB / 0.7913 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.2766, allocations: 43.91 kB / 0.7913 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.2772, allocations: 332.6 kB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.2773, allocations: 66.58 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.2774, allocations: 32.84 kB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2774, allocations: 8 kB / 0.7918 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.2777, allocations: 91.36 kB / 0.7918 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.2777, allocations: 0 / 0.7918 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004137/0.2781, allocations: 165.5 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2782, allocations: 55.41 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2783, allocations: 125.8 kB / 0.7922 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.2783, allocations: 33.7 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.2784, allocations: 92.28 kB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.2784, allocations: 19.95 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.2784, allocations: 21.7 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2786, allocations: 326.8 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.607e-05/0.2787, allocations: 31.86 kB / 0.7927 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.2788, allocations: 73.12 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.279, allocations: 101.1 kB / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.279, allocations: 0 / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002371/0.2792, allocations: 137.3 kB / 0.793 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2793, allocations: 4 kB / 0.793 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2793, allocations: 4 kB / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2793, allocations: 128 / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2794, allocations: 23.92 kB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2794, allocations: 4 kB / 0.793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.2795, allocations: 19.92 kB / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.2796, allocations: 7.984 kB / 0.793 GB, free: 6.004 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 9.937e-05/0.2797, allocations: 125.8 kB / 0.7931 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.2797, allocations: 8.281 kB / 0.7932 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.28, allocations: 157.9 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.28, allocations: 7.984 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.28, allocations: 0 / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.28, allocations: 7.875 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.2807, allocations: 434.3 kB / 0.7937 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2807, allocations: 0 / 0.7937 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.2807, allocations: 19.97 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2808, allocations: 0 / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2808, allocations: 4 kB / 0.7938 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2808, allocations: 3.938 kB / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2808, allocations: 0 / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.2811, allocations: 239.3 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.2811, allocations: 81.02 kB / 0.7941 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.2812, allocations: 8 kB / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2813, allocations: 15.92 kB / 0.7941 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.2814, allocations: 7.984 kB / 0.7941 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2814, allocations: 8 kB / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.2814, allocations: 100.3 kB / 0.7942 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2814, allocations: 0 / 0.7942 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003023/0.2818, allocations: 39.98 kB / 0.7942 GB, free: 4.656 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.0008213/0.2826, allocations: 0.8252 MB / 0.795 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.2828, allocations: 87.89 kB / 0.7951 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2828, allocations: 256 / 0.7951 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2829, allocations: 55.86 kB / 0.7952 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.2832, allocations: 25.97 kB / 0.7952 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.285, allocations: 1.624 MB / 0.7968 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.2853, allocations: 0.6965 MB / 0.7975 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.109e-05/0.2853, allocations: 12.44 kB / 0.7975 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.2854, allocations: 27.42 kB / 0.7975 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2854, allocations: 0 / 0.7975 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.3326, allocations: 2.718 MB / 0.8002 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/0.333, allocations: 251.5 kB / 0.8004 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.1, allocations: 0 / 0.8004 GB, free: 14.33 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)