Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001824/0.001824, 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.001576/0.001576, allocations: 217.9 kB / 22.26 MB, free: 5.121 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.554/1.554, 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.014/3.014, allocations: 476.7 MB / 0.7707 GB, free: 4.285 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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.002088/0.002088, allocations: 67.45 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3278, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003011/0.3308, allocations: 1.537 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3324, allocations: 0.8197 MB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.3324, allocations: 0 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.3324, allocations: 3.938 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.146e-05/0.3325, allocations: 11.86 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.3331, allocations: 147.5 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3333, allocations: 83.7 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3334, allocations: 11.98 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3335, allocations: 43.89 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.3336, allocations: 39.84 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3336, allocations: 8 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.334, allocations: 143.7 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.334, allocations: 15.98 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.3341, allocations: 39.78 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3343, allocations: 147.7 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3344, allocations: 0 / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3344, allocations: 0 / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3344, allocations: 0 / 1.286 GB, free: 8.738 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.000746/0.3351, allocations: 355.6 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3352, allocations: 8.031 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.3352, allocations: 38.73 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.3356, allocations: 32.88 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.3358, allocations: 130.3 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3359, allocations: 4.375 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.3359, allocations: 4.375 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3361, allocations: 77.59 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3361, allocations: 0 / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3361, allocations: 3.938 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3361, allocations: 4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3362, allocations: 43.94 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.3368, allocations: 287.8 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.337, allocations: 46.56 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.337, allocations: 28.97 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3371, allocations: 3.984 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.3372, allocations: 71.39 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.357e-06/0.3372, allocations: 4 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004135/0.3376, allocations: 145.6 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3377, allocations: 55.41 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3378, allocations: 122.8 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3378, allocations: 29.7 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.3379, allocations: 92.09 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.3379, allocations: 19.84 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.338, allocations: 25.7 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3381, allocations: 326.8 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.3382, allocations: 27.98 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3383, allocations: 46.55 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3385, allocations: 78.44 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3385, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.3387, allocations: 117.5 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3387, allocations: 6.031 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3387, allocations: 4 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3387, allocations: 0 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.3388, allocations: 15.92 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3388, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.3389, allocations: 8.062 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.3389, allocations: 15.86 kB / 1.289 GB, free: 6.285 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.0001389/0.339, allocations: 119 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.3391, allocations: 7.953 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.3391, allocations: 8.375 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3391, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3391, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3391, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.3396, allocations: 357.8 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3396, allocations: 4 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.3396, allocations: 3.984 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3396, allocations: 4 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3396, allocations: 0 / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.3396, allocations: 3.938 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3396, allocations: 0 / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.3399, allocations: 223.5 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.3399, allocations: 7.891 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.34, allocations: 4 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.3401, allocations: 7.938 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.3401, allocations: 11.98 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3401, allocations: 0 / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.395e-05/0.3402, allocations: 96.27 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3402, allocations: 0 / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002978/0.3405, allocations: 43.92 kB / 1.289 GB, free: 5.324 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.0008867/0.3414, allocations: 0.7969 MB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3416, allocations: 71.89 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3416, allocations: 3.938 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.3417, allocations: 35.92 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.342, allocations: 13.45 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.3437, allocations: 1.496 MB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.344, allocations: 0.6885 MB / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.344, allocations: 11.92 kB / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.3441, allocations: 27.38 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3441, allocations: 0 / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.3744, allocations: 2.828 MB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.57, allocations: 3.781 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.5437228679657]