Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.001046/0.001046, 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.001033/0.001034, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.91 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003306/1.035, allocations: 1.562 MB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001474/1.036, allocations: 0.7169 MB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/1.036, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.872e-05/1.036, allocations: 7.922 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/1.037, allocations: 19.86 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/1.037, allocations: 111.8 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/1.037, allocations: 71.78 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/1.038, allocations: 15.98 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/1.038, allocations: 31.91 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/1.038, allocations: 39.83 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/1.038, allocations: 4 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/1.038, allocations: 103.8 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/1.038, allocations: 23.94 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/1.038, allocations: 31.77 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/1.038, allocations: 133.9 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.038, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/1.038, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.452e-06/1.038, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 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.0007806/1.039, allocations: 416.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.039, allocations: 16.03 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/1.039, allocations: 34.73 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/1.039, allocations: 8.844 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.04, allocations: 168.4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/1.04, allocations: 8.375 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/1.04, allocations: 4.375 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/1.04, allocations: 73.72 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/1.04, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.04, allocations: 3.984 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.04, allocations: 8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/1.04, allocations: 31.98 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/1.041, allocations: 324.6 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/1.041, allocations: 58.44 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/1.041, allocations: 28.97 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/1.041, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/1.041, allocations: 75.38 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.041, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004186/1.042, allocations: 145.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.042, allocations: 59.47 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/1.042, allocations: 117.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/1.042, allocations: 29.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/1.042, allocations: 96.11 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/1.042, allocations: 15.81 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/1.042, allocations: 29.7 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.042, allocations: 314.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/1.042, allocations: 39.97 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/1.042, allocations: 42.56 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/1.042, allocations: 74.48 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.042, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/1.043, allocations: 117.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.043, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.043, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.043, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.043, allocations: 11.98 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.043, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/1.043, allocations: 15.78 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/1.043, allocations: 8 kB / 1.022 GB, free: 13.22 MB / 0.7794 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 0.000115/1.043, allocations: 129.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/1.043, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/1.043, allocations: 12.36 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.043, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/1.043, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.043, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/1.044, allocations: 382.4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.044, allocations: 4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/1.044, allocations: 7.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.044, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/1.044, allocations: 7.984 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.044, allocations: 3.938 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.044, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/1.044, allocations: 203.5 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/1.044, allocations: 89.02 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.044, allocations: 3.984 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/1.044, allocations: 7.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/1.044, allocations: 11.98 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/1.044, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.949e-05/1.044, allocations: 91.27 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.044, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002959/1.045, allocations: 36 kB / 1.023 GB, free: 12.14 MB / 0.7794 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.000976/1.046, allocations: 0.8255 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002361/1.046, allocations: 75.89 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.046, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/1.046, allocations: 35.92 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/1.046, allocations: 17.89 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/1.048, allocations: 1.485 MB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/1.048, allocations: 0.6885 MB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.843e-05/1.049, allocations: 7.938 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/1.049, allocations: 19.94 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/1.049, allocations: 0 / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/1.063, allocations: 2.487 MB / 1.028 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/1.063, allocations: 274.8 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/3.169, allocations: 1.969 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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