Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001313/0.001313, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00156/0.00156, allocations: 216.8 kB / 22.25 MB, free: 5.121 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.984 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.892/2.892, allocations: 476.7 MB / 0.7707 GB, free: 4.242 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.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",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.002057/0.002057, allocations: 63.56 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 170 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003303/0.3293, allocations: 1.584 MB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3311, allocations: 0.8664 MB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.3311, allocations: 4 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.3312, allocations: 7.875 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.548e-05/0.3313, allocations: 19.8 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.3319, allocations: 167.4 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.3321, allocations: 91.77 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.3322, allocations: 15.97 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.3323, allocations: 47.8 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3324, allocations: 51.75 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3324, allocations: 12 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.3328, allocations: 147.7 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.3328, allocations: 27.91 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.414e-05/0.3329, allocations: 43.73 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.3332, allocations: 186.9 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3332, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3332, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3332, allocations: 0 / 1.287 GB, free: 8.297 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008707/0.3341, allocations: 452.7 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3341, allocations: 8.031 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.3342, allocations: 38.75 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.3345, allocations: 32.86 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3348, allocations: 136.8 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3348, allocations: 4.375 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3348, allocations: 11.94 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.335, allocations: 81.58 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.335, allocations: 4 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.335, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.335, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3352, allocations: 55.95 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.3358, allocations: 299.8 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.336, allocations: 82.69 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.639e-05/0.3361, allocations: 36.84 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3361, allocations: 0 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.3364, allocations: 103.3 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3364, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004835/0.3368, allocations: 181.4 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3369, allocations: 55.41 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3371, allocations: 152.7 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3371, allocations: 29.7 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.3372, allocations: 96.14 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.3372, allocations: 35.72 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.3373, allocations: 29.7 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3374, allocations: 322.8 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.3375, allocations: 31.98 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3376, allocations: 69.12 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.3378, allocations: 117 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3378, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002721/0.3381, allocations: 133.4 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3381, allocations: 8 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3381, allocations: 3.938 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.3381, allocations: 4 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3382, allocations: 19.98 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3383, allocations: 11.97 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3384, allocations: 15.94 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3384, allocations: 4 kB / 1.289 GB, free: 5.441 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001104/0.3385, allocations: 125.8 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.3385, allocations: 7.953 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.3389, allocations: 173.9 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3389, allocations: 4 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3389, allocations: 3.938 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3389, allocations: 3.984 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.3396, allocations: 433.5 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3396, allocations: 0 / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.3397, allocations: 19.88 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3397, allocations: 0 / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3397, allocations: 7.984 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3397, allocations: 4 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3397, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.3401, allocations: 243.4 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.3401, allocations: 15.83 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3401, allocations: 4 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3403, allocations: 7.984 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.3403, allocations: 19.91 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3403, allocations: 8 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.151e-05/0.3404, allocations: 107.3 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3404, allocations: 0 / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003323/0.3407, allocations: 43.92 kB / 1.29 GB, free: 4.152 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0009833/0.3417, allocations: 0.8634 MB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.342, allocations: 95.83 kB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.342, allocations: 0 / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3421, allocations: 47.97 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3425, allocations: 24.17 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3446, allocations: 1.686 MB / 1.293 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3449, allocations: 0.7002 MB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.172e-05/0.345, allocations: 12.5 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.345, allocations: 39.42 kB / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.345, allocations: 0 / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.3761, allocations: 3.683 MB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.63, allocations: 10.58 kB / 1.297 GB, free: 13.01 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.404708252986893]