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.007017/0.007017, allocations: 96.44 kB / 15.73 MB, free: 6.055 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.001354/0.001354, allocations: 195.8 kB / 16.68 MB, free: 5.977 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.506/2.506, allocations: 469.8 MB / 0.7426 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.11 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.257, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002262/0.2593, allocations: 1.514 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2604, allocations: 0.7245 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.2604, allocations: 7.938 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.2604, allocations: 3.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.2605, allocations: 7.922 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.2608, allocations: 135.5 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.2609, allocations: 71.83 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.261, allocations: 15.95 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.261, allocations: 35.89 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.2611, allocations: 35.84 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2611, allocations: 8 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2613, allocations: 99.84 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.2613, allocations: 23.91 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.2614, allocations: 31.84 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2615, allocations: 143.5 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.2615, allocations: 3.938 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.92e-07/0.2616, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.404e-06/0.2616, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 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.0005044/0.2621, allocations: 420.7 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.134e-05/0.2621, allocations: 8.031 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.2621, allocations: 42.73 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.2622, allocations: 4.891 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2623, allocations: 168.3 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2623, allocations: 8.375 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.2623, allocations: 4.375 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.2625, allocations: 69.78 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.2625, allocations: 3.938 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2625, allocations: 7.984 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-06/0.2625, allocations: 0 / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.2626, allocations: 39.92 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.2631, allocations: 320.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.2632, allocations: 50.56 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.2633, allocations: 28.97 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2634, allocations: 8 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.2635, allocations: 75.31 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2635, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003442/0.2639, allocations: 141.7 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.2639, allocations: 51.41 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.264, allocations: 129.8 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.264, allocations: 29.7 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.2641, allocations: 88.14 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2641, allocations: 19.89 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.2642, allocations: 25.7 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2643, allocations: 318.8 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.2644, allocations: 31.92 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.2645, allocations: 55.41 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2646, allocations: 79.34 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2646, allocations: 0 / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002255/0.2649, allocations: 117.6 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.2649, allocations: 8 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2649, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2649, allocations: 4 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.265, allocations: 15.98 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.265, allocations: 7.938 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.2651, allocations: 7.938 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2651, allocations: 11.98 kB / 1.225 GB, free: 8.863 MB / 0.9825 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.462e-05/0.2652, allocations: 129.5 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.2652, allocations: 7.953 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.2652, allocations: 8.375 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2652, allocations: 4 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2653, allocations: 0 / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2653, allocations: 0 / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.2657, allocations: 382.7 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2657, allocations: 0 / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.2657, allocations: 11.98 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2657, allocations: 0 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2658, allocations: 0 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.2658, allocations: 7.938 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2658, allocations: 0 / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.266, allocations: 215.5 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.2661, allocations: 85.06 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2661, allocations: 0 / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.2662, allocations: 15.92 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.2662, allocations: 4 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.2663, allocations: 4 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.2663, allocations: 91.27 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2663, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002541/0.2666, allocations: 43.86 kB / 1.226 GB, free: 7.77 MB / 0.9825 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.000734/0.2673, allocations: 0.7992 MB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.2675, allocations: 79.88 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2675, allocations: 4.125 kB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.2676, allocations: 35.92 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2679, allocations: 15.92 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2693, allocations: 1.506 MB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2696, allocations: 0.6885 MB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.2696, allocations: 4 kB / 1.229 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.2697, allocations: 23.42 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.2697, allocations: 0 / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.691/7.961, allocations: 2.639 MB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/24.49, allocations: 12 kB / 1.232 GB, free: 1.961 MB / 0.9825 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