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.0009794/0.0009797, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001313/0.001313, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.854/1.854, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005233/0.0005233, allocations: 11.34 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2605, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002011/0.2626, allocations: 1.208 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2641, allocations: 0.7493 MB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.2642, allocations: 4 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.2642, allocations: 0 / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2643, allocations: 15.84 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.265, allocations: 87.78 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.2651, allocations: 79.77 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2652, allocations: 11.98 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.2654, allocations: 31.86 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.902e-05/0.2655, allocations: 43.81 kB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2655, allocations: 4 kB / 0.7896 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.2657, allocations: 79.92 kB / 0.7897 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.2658, allocations: 19.91 kB / 0.7897 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.2658, allocations: 33.64 kB / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.266, allocations: 108 kB / 0.7898 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2661, allocations: 3.938 kB / 0.7898 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2661, allocations: 4 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2661, allocations: 0 / 0.7898 GB, free: 9.332 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.0008543/0.2669, allocations: 450.5 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.267, allocations: 8.031 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.2671, allocations: 38.5 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.2671, allocations: 7.906 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.2673, allocations: 178.9 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2673, allocations: 8 kB / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.2674, allocations: 4 kB / 0.7905 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.2676, allocations: 73.59 kB / 0.7906 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2676, allocations: 0 / 0.7906 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2676, allocations: 3.984 kB / 0.7906 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2676, allocations: 4 kB / 0.7906 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.2678, allocations: 47.97 kB / 0.7906 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.2684, allocations: 324.7 kB / 0.7909 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.2685, allocations: 70.55 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.2686, allocations: 32.84 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.2687, allocations: 0 / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.2689, allocations: 95.39 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 3.166e-06/0.2689, allocations: 3.984 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004194/0.2694, allocations: 165.5 kB / 0.7913 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.2694, allocations: 59.73 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2696, allocations: 136.7 kB / 0.7915 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2696, allocations: 33.7 kB / 0.7915 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.2697, allocations: 84.38 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.2697, allocations: 27.64 kB / 0.7916 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.2697, allocations: 8 kB / 0.7916 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2698, allocations: 318.8 kB / 0.7919 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.2699, allocations: 27.97 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.27, allocations: 65.14 kB / 0.792 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.2701, allocations: 35.98 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2701, allocations: 0 / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002509/0.2704, allocations: 141.4 kB / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2704, allocations: 4 kB / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2704, allocations: 8.125 kB / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2705, allocations: 0 / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.2706, allocations: 15.98 kB / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2706, allocations: 7.953 kB / 0.7922 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2707, allocations: 15.92 kB / 0.7922 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2707, allocations: 8 kB / 0.7922 GB, free: 6.613 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 ($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 9.444e-05/0.2708, allocations: 125.7 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.2709, allocations: 11.91 kB / 0.7924 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.2712, allocations: 145.9 kB / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.2712, allocations: 4 kB / 0.7925 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2712, allocations: 0 / 0.7925 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2712, allocations: 3.953 kB / 0.7925 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.2717, allocations: 446.4 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2718, allocations: 0 / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.2718, allocations: 8 kB / 0.7929 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2718, allocations: 3.984 kB / 0.7929 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2719, allocations: 7.938 kB / 0.7929 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2719, allocations: 3.953 kB / 0.793 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2719, allocations: 0 / 0.793 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.2722, allocations: 231.3 kB / 0.7932 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2723, allocations: 93.02 kB / 0.7933 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2723, allocations: 0 / 0.7933 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2724, allocations: 11.98 kB / 0.7933 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.2725, allocations: 19.94 kB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.2725, allocations: 4 kB / 0.7933 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.2725, allocations: 95.27 kB / 0.7934 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2726, allocations: 0 / 0.7934 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000327/0.2729, allocations: 43.98 kB / 0.7934 GB, free: 5.273 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 (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.0008659/0.2738, allocations: 0.8293 MB / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.274, allocations: 84.08 kB / 0.7943 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.274, allocations: 4.062 kB / 0.7943 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2741, allocations: 55.91 kB / 0.7944 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.2744, allocations: 15.94 kB / 0.7944 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2756, allocations: 0.6724 MB / 0.795 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2759, allocations: 0.6926 MB / 0.7957 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.2759, allocations: 4.438 kB / 0.7957 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.276, allocations: 35.42 kB / 0.7958 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.276, allocations: 0 / 0.7958 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.2912, allocations: 2.721 MB / 0.7984 GB, free: 224 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.2914, allocations: 238.1 kB / 0.7986 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.252, allocations: 3.938 kB / 0.7986 GB, free: 15.97 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/linux/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) Environment - environmentSimulation: