Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001828/0.001828, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002246/0.002246, allocations: 219.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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.846/2.846, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.002002/0.002002, allocations: 72.41 kB / 1.118 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 169.9 MB / 1.284 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002868/0.3323, allocations: 1.545 MB / 1.286 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3339, allocations: 0.8661 MB / 1.286 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.334, allocations: 3.938 kB / 1.286 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.334, allocations: 7.922 kB / 1.286 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.636e-05/0.3341, allocations: 11.88 kB / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.3347, allocations: 155.5 kB / 1.287 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3348, allocations: 91.64 kB / 1.287 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.3349, allocations: 8 kB / 1.287 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.335, allocations: 43.89 kB / 1.287 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.3351, allocations: 39.84 kB / 1.287 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3351, allocations: 8 kB / 1.287 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.3354, allocations: 147.7 kB / 1.287 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.3354, allocations: 23.91 kB / 1.287 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.3355, allocations: 39.78 kB / 1.287 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.3357, allocations: 163.7 kB / 1.287 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3357, allocations: 0 / 1.287 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3357, allocations: 0 / 1.287 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3357, allocations: 3.938 kB / 1.287 GB, free: 0.7031 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.0007039/0.3364, allocations: 405.1 kB / 1.288 GB, free: 272 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3365, allocations: 8.031 kB / 1.288 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.21e-05/0.3365, allocations: 192 / 1.288 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.3365, allocations: 34.75 kB / 1.288 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.3368, allocations: 32.86 kB / 1.288 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.337, allocations: 137.3 kB / 1.288 GB, free: 28 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.337, allocations: 4.375 kB / 1.288 GB, free: 24 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.3371, allocations: 4.375 kB / 1.288 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3373, allocations: 81.53 kB / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3373, allocations: 0 / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3373, allocations: 0 / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3373, allocations: 0 / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.3374, allocations: 43.97 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.338, allocations: 291.7 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.3381, allocations: 62.55 kB / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.3382, allocations: 28.84 kB / 1.288 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3382, allocations: 4 kB / 1.288 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.3384, allocations: 95.39 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3384, allocations: 0 / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004142/0.3388, allocations: 161.5 kB / 1.289 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3389, allocations: 51.41 kB / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.339, allocations: 134.2 kB / 1.289 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.339, allocations: 29.7 kB / 1.289 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.3391, allocations: 92.52 kB / 1.289 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3391, allocations: 27.78 kB / 1.289 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.3391, allocations: 37.64 kB / 1.289 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3393, allocations: 322.8 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.3394, allocations: 31.97 kB / 1.289 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3395, allocations: 62.39 kB / 1.289 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.3397, allocations: 105 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3397, allocations: 3.938 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002523/0.3399, allocations: 129.5 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3399, allocations: 7.984 kB / 1.29 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3399, allocations: 128 / 1.29 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.34, allocations: 8 kB / 1.29 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3401, allocations: 23.92 kB / 1.29 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3401, allocations: 0 / 1.29 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3402, allocations: 11.95 kB / 1.29 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.3402, allocations: 7.984 kB / 1.29 GB, free: 14.03 MB / 0.9981 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.0001069/0.3403, allocations: 133.7 kB / 1.29 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.3403, allocations: 7.953 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.3406, allocations: 149.9 kB / 1.29 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3406, allocations: 0 / 1.29 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3406, allocations: 0 / 1.29 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3406, allocations: 0 / 1.29 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.3413, allocations: 405.3 kB / 1.29 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3413, allocations: 0 / 1.29 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/0.3413, allocations: 8 kB / 1.29 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3413, allocations: 11.94 kB / 1.29 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3414, allocations: 3.984 kB / 1.29 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3414, allocations: 3.938 kB / 1.29 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3414, allocations: 0 / 1.29 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.3417, allocations: 223.4 kB / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.3417, allocations: 7.953 kB / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3418, allocations: 7.984 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3419, allocations: 11.94 kB / 1.29 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.342, allocations: 15.97 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.342, allocations: 4 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.125e-05/0.3421, allocations: 99.27 kB / 1.291 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3421, allocations: 0 / 1.291 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000378/0.3424, allocations: 47.86 kB / 1.291 GB, free: 12.83 MB / 0.9981 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.001034/0.3435, allocations: 0.8257 MB / 1.291 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.3438, allocations: 79.89 kB / 1.292 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3438, allocations: 256 / 1.292 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.3439, allocations: 51.91 kB / 1.292 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.3442, allocations: 19.92 kB / 1.292 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.3465, allocations: 1.608 MB / 1.293 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3469, allocations: 0.6924 MB / 1.294 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.443e-05/0.3469, allocations: 12.44 kB / 1.294 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.347, allocations: 27.42 kB / 1.294 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/0.347, allocations: 4 kB / 1.294 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.3717, allocations: 3.327 MB / 1.297 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 11.14 kB / 1.297 GB, free: 6.199 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.466174333996605] Failed to read output from testmodel.py, exit status != 0: 12.003674464998767 12.028878225 11.6887068 Calling exit ...