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.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.001104/0.001104, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001151/0.001151, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 476.7 MB / 0.7628 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.001806/0.001806, allocations: 67.88 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8284/0.8302, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002381/0.8326, allocations: 1.535 MB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.8338, allocations: 0.7728 MB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.8338, allocations: 5 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.8338, allocations: 5.344 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.8339, allocations: 15.92 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.8344, allocations: 134.8 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.8345, allocations: 83.92 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.495e-05/0.8346, allocations: 13.42 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.8347, allocations: 42.42 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.8347, allocations: 42.11 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.8348, allocations: 11.58 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.8349, allocations: 106.3 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.835, allocations: 21.95 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.835, allocations: 27.02 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.8352, allocations: 163.5 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.8352, allocations: 0 / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8352, allocations: 5.094 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.8352, allocations: 0 / 1.274 GB, free: 5.836 MB / 0.9981 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.0005876/0.8358, allocations: 482.7 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.8358, allocations: 10.5 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.8359, allocations: 35.53 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.8359, allocations: 14.2 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.265e-05/0.836, allocations: 177.8 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.836, allocations: 40.89 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.8361, allocations: 10.72 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.8362, allocations: 78.28 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8362, allocations: 0 / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.8363, allocations: 4.844 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8363, allocations: 0.8125 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.8364, allocations: 49.53 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.8369, allocations: 324 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.837, allocations: 62.05 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.8371, allocations: 34.16 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.8372, allocations: 4.938 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.8374, allocations: 105.3 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.8374, allocations: 0 / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004591/0.8378, allocations: 171.7 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.8379, allocations: 58.03 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.838, allocations: 134.3 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.838, allocations: 26.77 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.838, allocations: 94.25 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.838, allocations: 24.25 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.8381, allocations: 31.33 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.8381, allocations: 326 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.8382, allocations: 29.84 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.8383, allocations: 74.98 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.8385, allocations: 107.9 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8385, allocations: 1.781 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002733/0.8388, allocations: 143.4 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.8388, allocations: 4.656 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.8388, allocations: 2.125 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8388, allocations: 5.875 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.8389, allocations: 14.61 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8389, allocations: 2.344 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.839, allocations: 19 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.839, allocations: 5.984 kB / 1.277 GB, free: 3.609 MB / 0.9981 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 5.981e-05/0.8391, allocations: 128 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.8391, allocations: 7.672 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.8391, allocations: 20.05 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.8391, allocations: 2.078 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8392, allocations: 0.7188 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8392, allocations: 0.6094 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.8396, allocations: 424.1 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8397, allocations: 3.938 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.8397, allocations: 16.64 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.8397, allocations: 3.578 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8397, allocations: 1.906 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8397, allocations: 4.406 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8397, allocations: 4.938 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.84, allocations: 233.2 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.84, allocations: 83.61 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.8401, allocations: 6.188 kB / 1.278 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.8402, allocations: 18.75 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.8402, allocations: 8.453 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.8402, allocations: 6.109 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.8403, allocations: 103.4 kB / 1.278 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8403, allocations: 0 / 1.278 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002928/0.8406, allocations: 43.61 kB / 1.278 GB, free: 2.719 MB / 0.9981 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.0006577/0.8412, allocations: 0.8211 MB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.8415, allocations: 95.61 kB / 1.279 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8415, allocations: 1.281 kB / 1.279 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.8417, allocations: 39.86 kB / 1.279 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.8419, allocations: 20.62 kB / 1.279 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.8436, allocations: 1.641 MB / 1.28 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.8439, allocations: 0.6963 MB / 1.281 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.862e-05/0.8439, allocations: 13.06 kB / 1.281 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.844, allocations: 28.88 kB / 1.281 GB, free: 15.82 MB / 1.014 GB Notification: Performance of SimCode: time 4.9e-07/0.844, allocations: 0.9688 kB / 1.281 GB, free: 15.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.8701, allocations: 3.123 MB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/7.772, allocations: 9.016 kB / 1.284 GB, free: 15.29 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/jenkins1/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] "" Variables in the reference:time,lig.ill,lig.occ,lig.pArriv,lig.on Variables in the result:ill.amplitude,ill.f,ill.offset,ill.phase,ill.startTime,ill.y,lig.AArriv,lig.BArriv,lig.CArriv,lig.MArriv,lig.ill,lig.occ,lig.on,lig.pArriv,lig.samplePeriod,lig.seed,occ.period,occ.startTime,occ.width,occ.y,time [Calling sys.exit(0), Time elapsed: 13.03558384400094]