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.001252/0.001252, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001405/0.001405, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.932/2.932, allocations: 476.7 MB / 0.7714 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] 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.002022/0.002022, allocations: 64.56 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3396, allocations: 169.9 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.004121/0.3437, allocations: 1.55 MB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.3462, allocations: 0.8625 MB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.3463, allocations: 4 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.3463, allocations: 3.938 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3464, allocations: 11.86 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008436/0.3473, allocations: 159.5 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.3475, allocations: 87.7 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3476, allocations: 11.98 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.3478, allocations: 43.78 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3479, allocations: 39.84 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.3479, allocations: 12 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.3483, allocations: 147.8 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.3484, allocations: 15.98 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.3484, allocations: 35.8 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.3488, allocations: 174.9 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3488, allocations: 0 / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3488, allocations: 0 / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3488, allocations: 0 / 1.287 GB, free: 8.605 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.0009507/0.3498, allocations: 393.2 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.3498, allocations: 16.02 kB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.3498, allocations: 192 / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.3499, allocations: 30.75 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/0.3503, allocations: 28.88 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3506, allocations: 134.4 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3507, allocations: 8.312 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.3507, allocations: 4.375 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.3509, allocations: 85.52 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.351, allocations: 0 / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.351, allocations: 0 / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.351, allocations: 0 / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.3512, allocations: 43.97 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.3518, allocations: 291.7 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.3521, allocations: 66.53 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3522, allocations: 32.84 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3522, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.3525, allocations: 95.39 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3525, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005385/0.353, allocations: 165.5 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.3531, allocations: 51.41 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3532, allocations: 135.4 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.3533, allocations: 33.7 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.3533, allocations: 92.36 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.3534, allocations: 27.94 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.3535, allocations: 33.7 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3536, allocations: 322.8 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3537, allocations: 27.98 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3539, allocations: 69.75 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.3541, allocations: 101 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3541, allocations: 0 / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003779/0.3545, allocations: 129.5 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3545, allocations: 4 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3545, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3546, allocations: 4 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3547, allocations: 24.48 kB / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3547, allocations: 0 / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.3549, allocations: 15.94 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3549, allocations: 7.938 kB / 1.29 GB, free: 5.938 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.0002063/0.3551, allocations: 129.7 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.3551, allocations: 11.94 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.3556, allocations: 153.8 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3556, allocations: 11.98 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3556, allocations: 0 / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3556, allocations: 0 / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.3564, allocations: 385.5 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3564, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3565, allocations: 19.92 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3565, allocations: 0 / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3566, allocations: 4 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.3566, allocations: 7.938 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3566, allocations: 0 / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.357, allocations: 223.4 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.357, allocations: 7.953 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.3571, allocations: 8.094 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3572, allocations: 11.92 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.3573, allocations: 19.97 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.3573, allocations: 7.984 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.379e-05/0.3574, allocations: 102.7 kB / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3574, allocations: 0 / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005078/0.3579, allocations: 47.88 kB / 1.291 GB, free: 4.727 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.001157/0.3591, allocations: 0.8172 MB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.3594, allocations: 79.89 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3594, allocations: 3.938 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.3596, allocations: 44.17 kB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.3601, allocations: 24.17 kB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.3627, allocations: 1.606 MB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3631, allocations: 0.6924 MB / 1.294 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.241e-05/0.3632, allocations: 16.42 kB / 1.294 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.394e-05/0.3633, allocations: 27.42 kB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.3633, allocations: 0 / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.3963, allocations: 3.335 MB / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.1, allocations: 4.812 kB / 1.297 GB, free: 14.1 MB / 0.9981 GB " [Timeout remaining time 287] (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.95776392100379] Failed to read output from testmodel.py, exit status != 0: 12.818847135000397 12.308881952 11.954925901 Calling exit ...