Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_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.004524/0.004524, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001336/0.001336, allocations: 201.1 kB / 16.68 MB, free: 5.973 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.531/2.531, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 64.12 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2669, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00227/0.2692, allocations: 1.486 MB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2703, allocations: 0.7284 MB / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.2704, allocations: 0 / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.2704, allocations: 3.938 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.2705, allocations: 15.86 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.2709, allocations: 127.5 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.271, allocations: 75.77 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.126e-05/0.2711, allocations: 15.98 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.2712, allocations: 35.91 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.2713, allocations: 39.83 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2713, allocations: 4 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2715, allocations: 99.84 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.2715, allocations: 19.92 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.2715, allocations: 31.84 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.2718, allocations: 135.5 kB / 1.245 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2718, allocations: 4 kB / 1.245 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2718, allocations: 0 / 1.245 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.2718, allocations: 0 / 1.245 GB, free: 7.027 MB / 0.9981 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.0005577/0.2723, allocations: 428.7 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2724, allocations: 12.03 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.2724, allocations: 30.75 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.2725, allocations: 12.88 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2726, allocations: 176.3 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2726, allocations: 8.375 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2726, allocations: 4.375 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2728, allocations: 69.78 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.2728, allocations: 3.938 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2728, allocations: 4 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.2728, allocations: 0 / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.273, allocations: 39.97 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.2735, allocations: 328.6 kB / 1.246 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.2737, allocations: 42.56 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.2737, allocations: 32.97 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2738, allocations: 0 / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.274, allocations: 83.36 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.274, allocations: 0 / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003489/0.2743, allocations: 145.5 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2744, allocations: 51.41 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.2745, allocations: 121.8 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2745, allocations: 29.7 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.2746, allocations: 100.1 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2746, allocations: 15.91 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.2747, allocations: 29.7 kB / 1.246 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2748, allocations: 322.8 kB / 1.247 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2749, allocations: 27.98 kB / 1.247 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.565e-05/0.275, allocations: 46.94 kB / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2751, allocations: 78.48 kB / 1.247 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2751, allocations: 0 / 1.247 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002231/0.2754, allocations: 113.5 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.2754, allocations: 4 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2754, allocations: 0 / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.2754, allocations: 7.938 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.2755, allocations: 19.98 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2755, allocations: 0 / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.2756, allocations: 7.938 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2756, allocations: 4 kB / 1.247 GB, free: 4.418 MB / 0.9981 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.598e-05/0.2757, allocations: 126.3 kB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.2757, allocations: 7.953 kB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.839e-05/0.2757, allocations: 4.375 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.2757, allocations: 4 kB / 1.247 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2757, allocations: 4 kB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2758, allocations: 0 / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.2762, allocations: 382.4 kB / 1.247 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2762, allocations: 0 / 1.247 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.2762, allocations: 7.984 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2762, allocations: 0 / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2762, allocations: 0 / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.2763, allocations: 7.938 kB / 1.247 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2763, allocations: 0 / 1.247 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.2765, allocations: 215.4 kB / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.2766, allocations: 85.06 kB / 1.248 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2766, allocations: 0 / 1.248 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.2767, allocations: 7.938 kB / 1.248 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.2767, allocations: 3.984 kB / 1.248 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2768, allocations: 12 kB / 1.248 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.2768, allocations: 95.27 kB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2768, allocations: 0 / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002498/0.2771, allocations: 39.88 kB / 1.248 GB, free: 3.336 MB / 0.9981 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.04315/0.3202, allocations: 0.8171 MB / 1.249 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.3205, allocations: 75.89 kB / 1.249 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3205, allocations: 0 / 1.249 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3206, allocations: 35.92 kB / 1.249 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3209, allocations: 8.484 kB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3225, allocations: 1.5 MB / 1.25 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.3228, allocations: 0.6846 MB / 1.251 GB, free: 88 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.3228, allocations: 11.98 kB / 1.251 GB, free: 76 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.3229, allocations: 19.44 kB / 1.251 GB, free: 56 kB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3229, allocations: 3.938 kB / 1.251 GB, free: 52 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.173/9.496, allocations: 2.636 MB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/19.8, allocations: 11.73 kB / 1.254 GB, free: 14.32 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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