Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 104.4 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 196.6 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 222.9 MB / 245.1 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.833/2.833, allocations: 437.1 MB / 0.7171 GB, free: 4.523 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.027 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 151.6 MB / 1.175 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002843/0.3245, allocations: 1.54 MB / 1.176 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3259, allocations: 0.7751 MB / 1.177 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.326, allocations: 0 / 1.177 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.326, allocations: 7.922 kB / 1.177 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.3261, allocations: 15.81 kB / 1.177 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.3267, allocations: 135.5 kB / 1.177 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3268, allocations: 99.67 kB / 1.177 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.3269, allocations: 12 kB / 1.177 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3271, allocations: 51.83 kB / 1.177 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.3272, allocations: 43.77 kB / 1.177 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3272, allocations: 8 kB / 1.177 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.3274, allocations: 99.84 kB / 1.177 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.3274, allocations: 19.92 kB / 1.177 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.3275, allocations: 51.77 kB / 1.177 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.3278, allocations: 159.7 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3278, allocations: 0 / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3278, allocations: 3.938 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3278, allocations: 0 / 1.178 GB, free: 3.336 MB / 0.92 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.0008204/0.3286, allocations: 0.5038 MB / 1.178 GB, free: 2.766 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3287, allocations: 12.03 kB / 1.178 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.3288, allocations: 34.75 kB / 1.178 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3288, allocations: 16.83 kB / 1.178 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.329, allocations: 188.2 kB / 1.178 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.329, allocations: 4.375 kB / 1.178 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.329, allocations: 12.31 kB / 1.178 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3292, allocations: 81.77 kB / 1.178 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3292, allocations: 0 / 1.178 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3293, allocations: 0 / 1.178 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3293, allocations: 4 kB / 1.178 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.3294, allocations: 55.89 kB / 1.178 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.33, allocations: 332.6 kB / 1.179 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.3303, allocations: 82.7 kB / 1.179 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.3304, allocations: 36.84 kB / 1.179 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3304, allocations: 8 kB / 1.179 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.3307, allocations: 95.34 kB / 1.179 GB, free: 1.695 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.3307, allocations: 4 kB / 1.179 GB, free: 1.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004802/0.3312, allocations: 181.4 kB / 1.179 GB, free: 1.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3313, allocations: 55.39 kB / 1.179 GB, free: 1.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3314, allocations: 144 kB / 1.179 GB, free: 1.293 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3315, allocations: 33.7 kB / 1.179 GB, free: 1.254 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.3315, allocations: 92.14 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3316, allocations: 31.73 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.3316, allocations: 33.7 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.3318, allocations: 326.8 kB / 1.18 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.3319, allocations: 27.98 kB / 1.18 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.332, allocations: 70.67 kB / 1.18 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3323, allocations: 105.1 kB / 1.18 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3323, allocations: 0 / 1.18 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002791/0.3326, allocations: 145.5 kB / 1.18 GB, free: 388 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3326, allocations: 4 kB / 1.18 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3326, allocations: 0 / 1.18 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3326, allocations: 7.938 kB / 1.18 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3327, allocations: 19.92 kB / 1.18 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3328, allocations: 4 kB / 1.18 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3329, allocations: 15.94 kB / 1.18 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3329, allocations: 8 kB / 1.18 GB, free: 328 kB / 0.92 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.0001122/0.333, allocations: 131.4 kB / 1.18 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.333, allocations: 7.953 kB / 1.18 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.3334, allocations: 174.3 kB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3335, allocations: 0 / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3335, allocations: 0 / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3335, allocations: 7.984 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007399/0.3342, allocations: 462.3 kB / 1.181 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3343, allocations: 3.938 kB / 1.181 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.3344, allocations: 12 kB / 1.181 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3344, allocations: 3.984 kB / 1.181 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3344, allocations: 4 kB / 1.181 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3344, allocations: 7.875 kB / 1.181 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3344, allocations: 0 / 1.181 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.3348, allocations: 255.3 kB / 1.181 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.3348, allocations: 89.06 kB / 1.181 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.3349, allocations: 0 / 1.181 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.335, allocations: 11.92 kB / 1.181 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.3351, allocations: 15.98 kB / 1.181 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.3351, allocations: 7.984 kB / 1.181 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.52e-05/0.3352, allocations: 105.7 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3352, allocations: 0 / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003333/0.3355, allocations: 51.81 kB / 1.182 GB, free: 14.89 MB / 0.9356 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.001002/0.3365, allocations: 0.8428 MB / 1.182 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.3368, allocations: 101.6 kB / 1.182 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3369, allocations: 0 / 1.182 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.337, allocations: 59.91 kB / 1.183 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3373, allocations: 19.92 kB / 1.183 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3395, allocations: 1.689 MB / 1.184 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3399, allocations: 0.7041 MB / 1.185 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.34, allocations: 8.547 kB / 1.185 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.3401, allocations: 35.42 kB / 1.185 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3401, allocations: 0 / 1.185 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.3671, allocations: 3.463 MB / 1.188 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/8.748, allocations: 15.2 kB / 1.188 GB, free: 7.949 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.91342601692304]