Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 191.7 kB / 16.13 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 65.03 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2191, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002464/0.2216, allocations: 1.607 MB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2229, allocations: 0.7828 MB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.2229, allocations: 0 / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.223, allocations: 7.922 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/0.2231, allocations: 11.88 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.2235, allocations: 111.8 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2236, allocations: 91.7 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.2237, allocations: 15.98 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.2238, allocations: 43.8 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.2239, allocations: 43.81 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2239, allocations: 4 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.2241, allocations: 91.84 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.2241, allocations: 19.91 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.2242, allocations: 47.78 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.2244, allocations: 155.8 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2244, allocations: 0 / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2244, allocations: 4 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2244, allocations: 0 / 1.055 GB, free: 5.18 MB / 0.8106 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.000703/0.2251, allocations: 0.4939 MB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2251, allocations: 11.97 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.2252, allocations: 42.73 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.2252, allocations: 16.69 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2254, allocations: 180.2 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2254, allocations: 8.375 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.2254, allocations: 8.359 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2256, allocations: 81.77 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2256, allocations: 3.984 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2256, allocations: 4 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2256, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.2258, allocations: 51.91 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.2263, allocations: 336.6 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.2265, allocations: 78.67 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.2266, allocations: 40.92 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2266, allocations: 7.875 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.2269, allocations: 99.36 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.2269, allocations: 0 / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004047/0.2273, allocations: 173.5 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.2273, allocations: 55.39 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2274, allocations: 142.9 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.2275, allocations: 33.64 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.2275, allocations: 108 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2275, allocations: 23.7 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.2276, allocations: 29.7 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2277, allocations: 326.8 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.961e-05/0.2278, allocations: 31.97 kB / 1.057 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.2279, allocations: 66.97 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.2281, allocations: 109.1 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2281, allocations: 0 / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002544/0.2283, allocations: 137.5 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2284, allocations: 9.406 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2284, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2284, allocations: 4 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2285, allocations: 23.92 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2285, allocations: 3.984 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2286, allocations: 15.98 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2286, allocations: 7.984 kB / 1.058 GB, free: 2.176 MB / 0.8106 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 8.925e-05/0.2287, allocations: 137.7 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2288, allocations: 7.906 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.2291, allocations: 166.3 kB / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2291, allocations: 0 / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2291, allocations: 0 / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2291, allocations: 0 / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.2297, allocations: 474.1 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2297, allocations: 0 / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.2298, allocations: 19.98 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2298, allocations: 0 / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2299, allocations: 0 / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.2299, allocations: 7.938 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2299, allocations: 0 / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.2302, allocations: 258.2 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.2303, allocations: 84.92 kB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.2303, allocations: 8 kB / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.2304, allocations: 11.92 kB / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.2305, allocations: 7.984 kB / 1.059 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2305, allocations: 8 kB / 1.059 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.2306, allocations: 114.1 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2306, allocations: 0 / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002931/0.2309, allocations: 44 kB / 1.059 GB, free: 0.7539 MB / 0.8106 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.0007452/0.2316, allocations: 0.8302 MB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.2319, allocations: 102.6 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2319, allocations: 0 / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.232, allocations: 55.92 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.2323, allocations: 26.17 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.234, allocations: 1.697 MB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.2342, allocations: 0.7002 MB / 1.062 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.2343, allocations: 12.56 kB / 1.062 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.2343, allocations: 31.42 kB / 1.062 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.2343, allocations: 0 / 1.062 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2341/0.4684, allocations: 3.193 MB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.4686, allocations: 267.7 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.044, allocations: 0 / 1.066 GB, free: 9.77 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches