Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.1.0-maint.11.x/package.mo", uses=false) 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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.001575/0.001575, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001662/0.001662, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 469.8 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 69.83 kB / 0.9082 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2309, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002366/0.2333, allocations: 1.55 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2344, allocations: 0.7168 MB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.2344, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.2344, allocations: 3.984 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.2345, allocations: 19.86 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.2349, allocations: 99.78 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.841e-05/0.235, allocations: 79.81 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.586e-05/0.2351, allocations: 8 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.2352, allocations: 35.8 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.2353, allocations: 47.81 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.2353, allocations: 12 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.2355, allocations: 87.91 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.2355, allocations: 19.92 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.2355, allocations: 35.84 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.2357, allocations: 147.8 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2357, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2358, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2358, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005619/0.2363, allocations: 417 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2364, allocations: 8.031 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.2364, allocations: 38.75 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.2364, allocations: 8.844 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2366, allocations: 168.2 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2366, allocations: 8.359 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2366, allocations: 8.375 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.2368, allocations: 73.77 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.2368, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2368, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.2368, allocations: 11.88 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2369, allocations: 35.97 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.2375, allocations: 316.8 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.2376, allocations: 46.56 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.2377, allocations: 32.97 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2377, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.2379, allocations: 83.31 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2379, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000347/0.2383, allocations: 137.5 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.2383, allocations: 59.41 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.2384, allocations: 121.8 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2384, allocations: 25.7 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.2385, allocations: 92.11 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2385, allocations: 23.73 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.2386, allocations: 33.64 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2387, allocations: 326.8 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.2388, allocations: 23.98 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.098e-05/0.2389, allocations: 46.56 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.239, allocations: 70.55 kB / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2391, allocations: 0 / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000221/0.2393, allocations: 113.6 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.2393, allocations: 9.5 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2393, allocations: 3.938 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2393, allocations: 4 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.2394, allocations: 15.98 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2394, allocations: 3.938 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.2395, allocations: 11.91 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2395, allocations: 4 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.525e-05/0.2396, allocations: 125.8 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.2396, allocations: 7.906 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.2396, allocations: 8.375 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2396, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2397, allocations: 3.938 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2397, allocations: 4 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.2401, allocations: 382.4 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2401, allocations: 0 / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.2401, allocations: 7.984 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2402, allocations: 3.984 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2402, allocations: 4 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2402, allocations: 3.938 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2402, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.2405, allocations: 211.8 kB / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.2405, allocations: 85 kB / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2405, allocations: 4 kB / 1.069 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.2406, allocations: 7.938 kB / 1.069 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.2407, allocations: 7.984 kB / 1.069 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.2407, allocations: 4 kB / 1.069 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.2407, allocations: 91.27 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2407, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000252/0.241, allocations: 36 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0007495/0.2417, allocations: 0.8049 MB / 1.07 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.242, allocations: 75.89 kB / 1.07 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.242, allocations: 4 kB / 1.07 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.2421, allocations: 31.98 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.2423, allocations: 13.75 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.2438, allocations: 1.503 MB / 1.072 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.2441, allocations: 0.6922 MB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.2441, allocations: 8 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.2441, allocations: 19.42 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2442, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.552/5.796, allocations: 2.498 MB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005327/5.796, allocations: 267.5 kB / 1.075 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/8.01, allocations: 3.938 kB / 1.075 GB, free: 2.008 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed