Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001217/0.001217, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.505/2.505, allocations: 469.8 MB / 0.7424 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 69.03 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2391, allocations: 159.2 MB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002412/0.2416, allocations: 1.505 MB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2426, allocations: 0.7302 MB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.2427, allocations: 0 / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.2427, allocations: 11.81 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.2428, allocations: 7.922 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.2432, allocations: 131.5 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.842e-05/0.2433, allocations: 67.84 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.5e-05/0.2434, allocations: 15.98 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.2435, allocations: 39.84 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.2436, allocations: 39.83 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2436, allocations: 4 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.2438, allocations: 99.84 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.2438, allocations: 19.92 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.2438, allocations: 27.84 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.244, allocations: 139.9 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2441, allocations: 8 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2441, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.2441, allocations: 0 / 1.067 GB, free: 11.43 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.000566/0.2447, allocations: 419.4 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.2447, allocations: 8.031 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.2447, allocations: 38.69 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.2448, allocations: 8.844 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2449, allocations: 180.2 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2449, allocations: 4.375 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2449, allocations: 4.375 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.2451, allocations: 73.78 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2451, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2451, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.2451, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2453, allocations: 35.97 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.2458, allocations: 324.6 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.2459, allocations: 46.56 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.246, allocations: 36.97 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.246, allocations: 3.984 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.2462, allocations: 75.33 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2462, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003518/0.2466, allocations: 145.6 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2466, allocations: 55.41 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.2467, allocations: 113.8 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2467, allocations: 37.69 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.2468, allocations: 92.05 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.2468, allocations: 19.75 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.2469, allocations: 29.7 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.247, allocations: 322.8 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.2471, allocations: 23.98 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.731e-05/0.2472, allocations: 59.36 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.2473, allocations: 79.41 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2474, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002331/0.2476, allocations: 117.6 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.2476, allocations: 4 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2476, allocations: 7.984 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2476, allocations: 8 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.2477, allocations: 8 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2477, allocations: 3.984 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.2478, allocations: 11.91 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.2478, allocations: 4 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.736e-05/0.2479, allocations: 126.2 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.2479, allocations: 7.906 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.248, allocations: 20.36 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.248, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.248, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.248, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.2484, allocations: 382.3 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2484, allocations: 0 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.2485, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2485, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2485, allocations: 11.98 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2485, allocations: 7.938 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2485, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.2488, allocations: 199.8 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.2488, allocations: 85.02 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2488, allocations: 4.047 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.2489, allocations: 15.94 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.249, allocations: 7.984 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.249, allocations: 4 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.249, allocations: 95.2 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.249, allocations: 0 / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002603/0.2493, allocations: 36 kB / 1.07 GB, free: 7.73 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,occ.y,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.0007258/0.25, allocations: 0.8026 MB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2503, allocations: 75.89 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2503, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.2504, allocations: 39.98 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.2506, allocations: 15.94 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2521, allocations: 1.488 MB / 1.072 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2524, allocations: 0.6961 MB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.2524, allocations: 7.938 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.2525, allocations: 23.42 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2525, allocations: 4 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4692/0.7216, allocations: 2.601 MB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.23, allocations: 6.672 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed