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.001388/0.001388, allocations: 97.31 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.001805/0.001805, allocations: 215.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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.836/2.836, allocations: 476.8 MB / 0.7715 GB, free: 3.867 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.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.001969/0.001969, allocations: 64.36 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3383, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002713/0.341, allocations: 1.523 MB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3425, allocations: 0.8003 MB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.3426, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.3426, allocations: 11.86 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.753e-05/0.3427, allocations: 15.86 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.3433, allocations: 147.5 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3434, allocations: 99.58 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.3435, allocations: 23.92 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3436, allocations: 39.84 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.3437, allocations: 43.83 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.3437, allocations: 8 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.344, allocations: 147.7 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.3441, allocations: 19.92 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.3441, allocations: 35.84 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3444, allocations: 168.8 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3444, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3444, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3444, allocations: 4 kB / 1.287 GB, free: 7.523 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.0007406/0.3451, allocations: 409.2 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3452, allocations: 8.031 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.334e-05/0.3452, allocations: 4.188 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.3452, allocations: 30.75 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.3454, allocations: 24.88 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3457, allocations: 148.5 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.3458, allocations: 85.67 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.3458, allocations: 12.12 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.346, allocations: 73.58 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.346, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.346, allocations: 8 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.346, allocations: 3.984 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.3462, allocations: 39.97 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.3468, allocations: 287.8 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.347, allocations: 66.53 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3471, allocations: 32.84 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3471, allocations: 8 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.3474, allocations: 103.3 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3474, allocations: 3.938 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004947/0.3479, allocations: 173.5 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3479, allocations: 55.39 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.348, allocations: 137.7 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.348, allocations: 29.7 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.3481, allocations: 92.53 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.3481, allocations: 31.78 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.3482, allocations: 29.7 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3484, allocations: 322.8 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3485, allocations: 35.97 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.3486, allocations: 71.12 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3488, allocations: 105 kB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3488, allocations: 0 / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003239/0.3492, allocations: 141.5 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3492, allocations: 8 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3492, allocations: 0 / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3492, allocations: 4 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3493, allocations: 19.98 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3493, allocations: 0 / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.3494, allocations: 27.98 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3495, allocations: 4 kB / 1.29 GB, free: 4.68 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.0001147/0.3496, allocations: 126.9 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.3496, allocations: 15.89 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.3496, allocations: 8.719 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3496, allocations: 4 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3496, allocations: 0 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3496, allocations: 3.938 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.3503, allocations: 381.5 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3503, allocations: 480 / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.3504, allocations: 11.98 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3504, allocations: 0 / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3504, allocations: 7.922 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3504, allocations: 7.922 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3504, allocations: 7.938 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3508, allocations: 219.5 kB / 1.29 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.3508, allocations: 27.83 kB / 1.29 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3508, allocations: 7.875 kB / 1.29 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.351, allocations: 15.92 kB / 1.29 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.351, allocations: 11.98 kB / 1.29 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.351, allocations: 0 / 1.29 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.461e-05/0.3511, allocations: 109.3 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3511, allocations: 0 / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003352/0.3514, allocations: 39.94 kB / 1.291 GB, free: 3.617 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.001073/0.3525, allocations: 0.8254 MB / 1.291 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.3528, allocations: 84.02 kB / 1.291 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3528, allocations: 256 / 1.291 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.353, allocations: 51.91 kB / 1.291 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3533, allocations: 22.06 kB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.3555, allocations: 1.636 MB / 1.293 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.458e-05/0.3556, allocations: 79.75 kB / 1.293 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.645e-05/0.3556, allocations: 12.42 kB / 1.293 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.3557, allocations: 23.44 kB / 1.293 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3557, allocations: 4 kB / 1.293 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.3798, allocations: 3.428 MB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.08, allocations: 8.172 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB " [Timeout remaining time 288] (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.868745644926094] Failed to read output from testmodel.py, exit status != 0: 12.816312946961261 12.262789426 11.915132817 Calling exit ...