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.0007936/0.0007936, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008106/0.0008106, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8986/0.8986, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.129e-05, allocations: 9.172 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002464/0.002495, allocations: 1.525 MB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.00386, allocations: 0.8028 MB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.00394, allocations: 0 / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.003975, allocations: 7.875 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.879e-05/0.004074, allocations: 23.8 kB / 0.9528 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008077/0.004882, allocations: 155.3 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.005045, allocations: 91.64 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.005156, allocations: 12 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.005336, allocations: 63.86 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.005404, allocations: 31.89 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.005424, allocations: 4 kB / 0.9531 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.00568, allocations: 147.7 kB / 0.9533 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.005708, allocations: 19.91 kB / 0.9533 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.005753, allocations: 31.91 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.006028, allocations: 175.5 kB / 0.9535 GB, free: 440 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.006032, allocations: 3.984 kB / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.983e-06/0.006034, allocations: 4 kB / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.00604, allocations: 4 kB / 0.9535 GB, free: 428 kB / 0.9011 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.0007503/0.00679, allocations: 407.1 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.006837, allocations: 8.031 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.006878, allocations: 42.69 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.007076, allocations: 28.86 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.007302, allocations: 136 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.007393, allocations: 93.66 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.007406, allocations: 8.375 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.007568, allocations: 78.14 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.007576, allocations: 2.062 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.007588, allocations: 3.984 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.007594, allocations: 4 kB / 0.9543 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.007711, allocations: 51.89 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.008119, allocations: 279.9 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.00826, allocations: 62.58 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.008322, allocations: 36.84 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.008344, allocations: 3.984 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.008503, allocations: 95.31 kB / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.008505, allocations: 0 / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0003356/0.00884, allocations: 181.4 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.008882, allocations: 55.41 kB / 0.955 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.008971, allocations: 129.8 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.008985, allocations: 29.7 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.009037, allocations: 100.8 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.009062, allocations: 27.78 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.009102, allocations: 29.7 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.009238, allocations: 322.8 kB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.009306, allocations: 39.86 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.009383, allocations: 74 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.009521, allocations: 101 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.009523, allocations: 4 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001805/0.009704, allocations: 133.5 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.009719, allocations: 8 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.009725, allocations: 0 / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.00974, allocations: 3.938 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.00981, allocations: 19.92 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.009817, allocations: 4 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.009871, allocations: 16.11 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.009883, allocations: 11.98 kB / 0.956 GB, free: 13.58 MB / 0.9167 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 7.755e-05/0.009961, allocations: 117.8 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.009975, allocations: 15.91 kB / 0.9561 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.01, allocations: 12.78 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01001, allocations: 3.938 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01001, allocations: 4 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01002, allocations: 11.86 kB / 0.9562 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.01041, allocations: 385.4 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01041, allocations: 96 / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.01045, allocations: 11.98 kB / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01045, allocations: 7.984 kB / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01046, allocations: 0 / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01046, allocations: 0 / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01046, allocations: 0 / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.01067, allocations: 235.3 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.01069, allocations: 11.91 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.0107, allocations: 4 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.706e-05/0.01076, allocations: 8.172 kB / 0.9568 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.01081, allocations: 11.98 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.01083, allocations: 15.92 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.01087, allocations: 105.5 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01087, allocations: 0 / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002512/0.01112, allocations: 43.92 kB / 0.957 GB, free: 12.52 MB / 0.9167 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.0006532/0.01178, allocations: 0.8221 MB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.01202, allocations: 91.81 kB / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01202, allocations: 0 / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.01211, allocations: 52.14 kB / 0.9579 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01233, allocations: 26.38 kB / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.01387, allocations: 1.636 MB / 0.9595 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.48e-05/0.01394, allocations: 87.66 kB / 0.9596 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.38e-05/0.01398, allocations: 4.688 kB / 0.9596 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.01404, allocations: 28.48 kB / 0.9596 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of SimCode: time 1.082e-06/0.01404, allocations: 4 kB / 0.9596 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.03115, allocations: 3.927 MB / 0.9635 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/6.842, allocations: 6.469 kB / 0.9635 GB, free: 5.844 MB / 0.9167 GB " [Timeout remaining time 293] (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] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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: 10.90919004008174]