Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 219.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.005/3.005, allocations: 476.7 MB / 0.7707 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 66.95 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3449, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002985/0.3479, allocations: 1.538 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3498, allocations: 0.8158 MB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.3499, allocations: 0 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.174e-05/0.3499, allocations: 11.88 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.35, allocations: 7.938 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009367/0.351, allocations: 147.5 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3512, allocations: 79.7 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3513, allocations: 19.91 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.3515, allocations: 39.91 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.3516, allocations: 39.84 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.3516, allocations: 4 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.352, allocations: 151.7 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.3521, allocations: 11.98 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.3522, allocations: 39.8 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.3526, allocations: 147.7 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3526, allocations: 0 / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3526, allocations: 0 / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3526, allocations: 0 / 1.286 GB, free: 8.676 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.0008415/0.3534, allocations: 355.5 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.3535, allocations: 8.031 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.3535, allocations: 38.69 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/0.3539, allocations: 36.86 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3542, allocations: 126.4 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.3542, allocations: 4.375 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3542, allocations: 8.375 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.3544, allocations: 69.58 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3544, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3545, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3545, allocations: 7.938 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3546, allocations: 43.91 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.3552, allocations: 283.8 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3554, allocations: 46.55 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.3554, allocations: 28.97 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3555, allocations: 8 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3556, allocations: 75.31 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3556, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004277/0.3561, allocations: 137.7 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.3561, allocations: 59.39 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3563, allocations: 129.1 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3563, allocations: 29.7 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.3564, allocations: 92.09 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3564, allocations: 19.83 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.3565, allocations: 29.7 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3567, allocations: 322.8 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3568, allocations: 19.98 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3569, allocations: 58.48 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3571, allocations: 70.55 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3571, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003774/0.3574, allocations: 113.5 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3575, allocations: 12.05 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3575, allocations: 0 / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3575, allocations: 4 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3576, allocations: 11.94 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3576, allocations: 0 / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.3577, allocations: 11.98 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.3577, allocations: 7.938 kB / 1.288 GB, free: 6.234 MB / 0.9825 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.0001274/0.3578, allocations: 117.8 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3579, allocations: 11.95 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.3579, allocations: 12.36 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3579, allocations: 4 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3579, allocations: 0 / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3579, allocations: 0 / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.3584, allocations: 357.4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3584, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.3585, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3585, allocations: 4 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3585, allocations: 4 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.3585, allocations: 11.92 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3585, allocations: 0 / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.3588, allocations: 203.9 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.3588, allocations: 11.89 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3588, allocations: 0 / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.3589, allocations: 19.92 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.359, allocations: 3.984 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.359, allocations: 7.984 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.275e-05/0.3591, allocations: 91.27 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 4 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003118/0.3594, allocations: 35.94 kB / 1.289 GB, free: 5.27 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,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.0009627/0.3603, allocations: 0.8092 MB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3606, allocations: 63.95 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3606, allocations: 4 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3607, allocations: 39.98 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.361, allocations: 7.938 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.3628, allocations: 1.504 MB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.3632, allocations: 0.6885 MB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.3633, allocations: 4 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.3633, allocations: 23.42 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3633, allocations: 3.938 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.3972, allocations: 2.826 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 9.922 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,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 [Calling sys.exit(0), Time elapsed: 18.660868934122846]