Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 217.3 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.8 MB / 0.7715 GB, free: 3.855 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.45 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.361, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003091/0.364, allocations: 1.515 MB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3657, allocations: 0.7963 MB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.3657, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.3658, allocations: 7.938 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.3659, allocations: 19.78 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.3665, allocations: 151.5 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3666, allocations: 87.69 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/0.3667, allocations: 8 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3669, allocations: 43.84 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.3669, allocations: 43.83 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.367, allocations: 8 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.3672, allocations: 143.8 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.3673, allocations: 23.91 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.3673, allocations: 27.86 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.3676, allocations: 168.9 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3676, allocations: 3.984 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3677, allocations: 0 / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3677, allocations: 3.938 kB / 1.287 GB, free: 7.539 MB / 0.9825 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.0007891/0.3684, allocations: 393.2 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3685, allocations: 8.031 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.301e-05/0.3685, allocations: 8.156 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.3686, allocations: 38.75 kB / 1.287 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.3689, allocations: 28.88 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.3691, allocations: 138.3 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3692, allocations: 8.375 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3692, allocations: 4.375 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.3694, allocations: 77.58 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.3694, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3694, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3694, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.3695, allocations: 43.97 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.3701, allocations: 279.8 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3702, allocations: 58.55 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.3703, allocations: 36.83 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3703, allocations: 8 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.3705, allocations: 95.33 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3705, allocations: 0 / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000412/0.371, allocations: 161.5 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.371, allocations: 55.39 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3711, allocations: 132.5 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3712, allocations: 29.7 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.3712, allocations: 92.33 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3713, allocations: 23.8 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.3713, allocations: 41.62 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3715, allocations: 318.8 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.3716, allocations: 27.98 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.3717, allocations: 66.5 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3719, allocations: 109 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3719, allocations: 0 / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002604/0.3721, allocations: 125.5 kB / 1.289 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3721, allocations: 8 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3721, allocations: 8.109 kB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3722, allocations: 4 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3723, allocations: 11.98 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3723, allocations: 7.938 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3724, allocations: 11.95 kB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3724, allocations: 11.98 kB / 1.289 GB, free: 4.875 MB / 0.9825 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.0001236/0.3725, allocations: 121.7 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.3725, allocations: 7.953 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.3729, allocations: 158 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3729, allocations: 3.938 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3729, allocations: 0 / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.195e-06/0.3729, allocations: 0 / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.3735, allocations: 398.1 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3736, allocations: 0 / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.3736, allocations: 11.94 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3736, allocations: 0 / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3736, allocations: 11.92 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.3737, allocations: 11.94 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3737, allocations: 0 / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.374, allocations: 227.4 kB / 1.29 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.374, allocations: 3.953 kB / 1.29 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.374, allocations: 7.984 kB / 1.29 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3741, allocations: 11.94 kB / 1.29 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.3742, allocations: 11.97 kB / 1.29 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3742, allocations: 4 kB / 1.29 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.367e-05/0.3743, allocations: 103.2 kB / 1.29 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3743, allocations: 0 / 1.29 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003214/0.3746, allocations: 51.86 kB / 1.29 GB, free: 3.668 MB / 0.9825 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.0009632/0.3756, allocations: 0.8129 MB / 1.291 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.3758, allocations: 83.83 kB / 1.291 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3758, allocations: 4.25 kB / 1.291 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3759, allocations: 43.97 kB / 1.291 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3762, allocations: 21.75 kB / 1.291 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3781, allocations: 1.6 MB / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.087e-05/0.3782, allocations: 83.88 kB / 1.293 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.044e-05/0.3783, allocations: 12.42 kB / 1.293 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.3783, allocations: 27.42 kB / 1.293 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3783, allocations: 0 / 1.293 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.4065, allocations: 3.422 MB / 1.296 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.01, allocations: 13.8 kB / 1.296 GB, free: 13.6 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.77944677195046] Failed to read output from testmodel.py, exit status != 0: 12.762461323989555 12.207829956 11.834614292 Calling exit ...