Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001667/0.001667, 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.002272/0.002272, allocations: 215.7 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.912/2.912, allocations: 476.7 MB / 0.7714 GB, free: 4.285 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.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.002864/0.002864, allocations: 65.16 kB / 1.118 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3943, allocations: 169.9 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002805/0.3971, allocations: 1.566 MB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3986, allocations: 0.8587 MB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.3987, allocations: 3.938 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.3987, allocations: 3.938 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.3988, allocations: 23.8 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.3994, allocations: 155.5 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.3995, allocations: 91.7 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.3996, allocations: 15.92 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3997, allocations: 47.78 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.3998, allocations: 43.83 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3999, allocations: 4 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.4002, allocations: 147.8 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.4002, allocations: 15.92 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.4003, allocations: 47.72 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.4005, allocations: 167 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.672e-05/0.4006, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4006, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4006, allocations: 7.984 kB / 1.287 GB, free: 8.414 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.0007544/0.4013, allocations: 407.2 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4014, allocations: 8.031 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.72e-05/0.4014, allocations: 192 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.4014, allocations: 38.75 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.4017, allocations: 32.86 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.4019, allocations: 134.3 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.402, allocations: 93.66 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.402, allocations: 8.125 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.4023, allocations: 73.64 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4023, allocations: 0 / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4023, allocations: 0 / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.4023, allocations: 4 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.4025, allocations: 55.89 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.403, allocations: 287.8 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.4033, allocations: 70.53 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.4034, allocations: 40.84 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.4034, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.4036, allocations: 107.3 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 3.597e-06/0.4036, allocations: 3.984 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005261/0.4042, allocations: 169.5 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4042, allocations: 51.41 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4044, allocations: 144.1 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4044, allocations: 29.7 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.4044, allocations: 92.38 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.4045, allocations: 31.94 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.4045, allocations: 29.7 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4047, allocations: 322.8 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4048, allocations: 31.97 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.4049, allocations: 75.56 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.4052, allocations: 105.1 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4052, allocations: 0 / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003199/0.4055, allocations: 141.4 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4055, allocations: 8.125 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4055, allocations: 0 / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4056, allocations: 4 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4057, allocations: 19.98 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4057, allocations: 3.938 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.4058, allocations: 23.86 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4058, allocations: 4 kB / 1.29 GB, free: 5.559 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.0001121/0.4059, allocations: 125.8 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.4059, allocations: 11.91 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.406, allocations: 12.7 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.406, allocations: 4 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.406, allocations: 0 / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.406, allocations: 3.938 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.4067, allocations: 385.9 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4067, allocations: 7.938 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.4067, allocations: 7.984 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4067, allocations: 4.094 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.4068, allocations: 15.86 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4068, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4068, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.4071, allocations: 223.4 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.4072, allocations: 23.83 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4072, allocations: 3.938 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.4073, allocations: 11.98 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.4074, allocations: 11.98 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4074, allocations: 7.984 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.502e-05/0.4075, allocations: 102.1 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4075, allocations: 0 / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003356/0.4078, allocations: 39.94 kB / 1.291 GB, free: 4.5 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 (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.001071/0.4089, allocations: 0.8285 MB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.4092, allocations: 91.81 kB / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4092, allocations: 0 / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.4094, allocations: 35.98 kB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.4097, allocations: 15.98 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.4119, allocations: 1.64 MB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.4123, allocations: 0.7 MB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.306e-05/0.4123, allocations: 12.42 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.4124, allocations: 23.44 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of SimCode: time 7.52e-07/0.4124, allocations: 0 / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.4435, allocations: 3.354 MB / 1.297 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.88, allocations: 7.297 kB / 1.297 GB, free: 13.82 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.781906985968817] Failed to read output from testmodel.py, exit status != 0: 12.567845723999199 12.082444864 11.675578264 Calling exit ...