Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_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.001127/0.001127, allocations: 97.64 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.008621/0.008621, allocations: 168.6 kB / 16.26 MB, free: 6.66 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.278/1.278, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.55/1.55, 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.0005415/0.0005416, allocations: 18.56 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2706, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001918/0.2726, allocations: 1.243 MB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2741, allocations: 0.784 MB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.2741, allocations: 4 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.2742, allocations: 3.984 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2743, allocations: 11.86 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.2748, allocations: 107.8 kB / 0.7901 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.275, allocations: 83.7 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.2751, allocations: 12 kB / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.2752, allocations: 35.84 kB / 0.7902 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.2753, allocations: 39.83 kB / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2753, allocations: 4 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.2755, allocations: 91.84 kB / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.2756, allocations: 19.91 kB / 0.7904 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.2756, allocations: 61.5 kB / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2759, allocations: 135.9 kB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2759, allocations: 0 / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2759, allocations: 4 kB / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2759, allocations: 0 / 0.7906 GB, free: 8.801 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.0007148/0.2766, allocations: 470.6 kB / 0.791 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2767, allocations: 12.03 kB / 0.791 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.2767, allocations: 34.75 kB / 0.7911 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.2768, allocations: 12.84 kB / 0.7911 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2769, allocations: 188.1 kB / 0.7912 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.277, allocations: 38.2 kB / 0.7913 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.277, allocations: 8.359 kB / 0.7913 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.2772, allocations: 77.59 kB / 0.7914 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.2772, allocations: 0 / 0.7914 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2773, allocations: 3.984 kB / 0.7914 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2773, allocations: 7.922 kB / 0.7914 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.2775, allocations: 55.97 kB / 0.7914 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.278, allocations: 320.7 kB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.2783, allocations: 74.55 kB / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2784, allocations: 40.83 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2784, allocations: 4.156 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.2787, allocations: 103.4 kB / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.2787, allocations: 0 / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.00051/0.2793, allocations: 173.5 kB / 0.7921 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.2793, allocations: 55.41 kB / 0.7922 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.2795, allocations: 140.5 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2795, allocations: 25.7 kB / 0.7923 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.2796, allocations: 96.36 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2796, allocations: 23.66 kB / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.2797, allocations: 21.7 kB / 0.7925 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2798, allocations: 326.8 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.2799, allocations: 27.98 kB / 0.7928 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.2801, allocations: 77.12 kB / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.2803, allocations: 113 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2803, allocations: 0 / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003174/0.2807, allocations: 137.5 kB / 0.7931 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2807, allocations: 12 kB / 0.7931 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2807, allocations: 0 / 0.7931 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2807, allocations: 4 kB / 0.7931 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2808, allocations: 19.92 kB / 0.7931 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2808, allocations: 0 / 0.7931 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.281, allocations: 23.92 kB / 0.7932 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.281, allocations: 4.375 kB / 0.7932 GB, free: 5.84 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.0001026/0.2811, allocations: 129.8 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.2811, allocations: 11.81 kB / 0.7933 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.2812, allocations: 12.72 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2812, allocations: 3.938 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2812, allocations: 0 / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2812, allocations: 4 kB / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.2819, allocations: 438.3 kB / 0.7937 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2819, allocations: 0 / 0.7937 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.282, allocations: 15.92 kB / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.282, allocations: 0 / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.282, allocations: 4 kB / 0.7938 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.282, allocations: 3.938 kB / 0.7938 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.282, allocations: 4.094 kB / 0.7938 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.2824, allocations: 235.3 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.2825, allocations: 81.02 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.2825, allocations: 4 kB / 0.7941 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2827, allocations: 27.92 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.2827, allocations: 7.984 kB / 0.7941 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2827, allocations: 7.984 kB / 0.7941 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.2828, allocations: 99.27 kB / 0.7942 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2828, allocations: 0 / 0.7942 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00033/0.2832, allocations: 40 kB / 0.7942 GB, free: 4.629 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 (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.0009294/0.2841, allocations: 0.8211 MB / 0.7951 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.2844, allocations: 99.81 kB / 0.7951 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2844, allocations: 3.938 kB / 0.7952 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2846, allocations: 47.98 kB / 0.7952 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.2849, allocations: 20.11 kB / 0.7952 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.2869, allocations: 1.659 MB / 0.7968 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2872, allocations: 0.6965 MB / 0.7975 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.664e-05/0.2872, allocations: 8.859 kB / 0.7975 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.2873, allocations: 27.42 kB / 0.7976 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2873, allocations: 3.938 kB / 0.7976 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/0.3434, allocations: 2.716 MB / 0.8002 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/0.3437, allocations: 264.1 kB / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.134, allocations: 0 / 0.8005 GB, free: 14.25 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)