Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001351/0.001351, allocations: 109.2 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.001686/0.001686, allocations: 219 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.984 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 2.857/2.857, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.002062/0.002062, allocations: 67.95 kB / 1.117 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 170 MB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003116/0.3214, allocations: 1.531 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3231, allocations: 0.8196 MB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.3232, allocations: 4 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/0.3232, allocations: 3.938 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.3233, allocations: 7.875 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.324, allocations: 155.5 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3242, allocations: 71.78 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3243, allocations: 15.97 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3244, allocations: 43.84 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.3245, allocations: 39.84 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3245, allocations: 8 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.3249, allocations: 143.8 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.3249, allocations: 15.98 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.3249, allocations: 31.8 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.3252, allocations: 155.6 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3252, allocations: 0 / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3252, allocations: 0 / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3252, allocations: 0 / 1.286 GB, free: 8.605 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.0006571/0.3259, allocations: 355.5 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3259, allocations: 8.031 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.326, allocations: 34.75 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.3264, allocations: 40.86 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.3266, allocations: 127.2 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3266, allocations: 4.375 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3266, allocations: 8.375 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3268, allocations: 69.53 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3268, allocations: 3.938 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3269, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3269, allocations: 11.97 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.327, allocations: 35.98 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.3276, allocations: 283.8 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3278, allocations: 50.48 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.3279, allocations: 28.97 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3279, allocations: 8 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3281, allocations: 75.38 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3281, allocations: 3.938 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004289/0.3285, allocations: 137.6 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.3286, allocations: 63.41 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3287, allocations: 127.3 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3287, allocations: 29.7 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.3288, allocations: 92.09 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3288, allocations: 19.83 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.3289, allocations: 29.7 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3291, allocations: 322.8 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.3292, allocations: 19.98 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3293, allocations: 54.55 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3294, allocations: 74.48 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3294, allocations: 0 / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002597/0.3297, allocations: 113.5 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3297, allocations: 4.062 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3297, allocations: 4 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3297, allocations: 4 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3298, allocations: 8 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3299, allocations: 3.984 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.3299, allocations: 11.94 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3299, allocations: 7.938 kB / 1.289 GB, free: 6.156 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.0001054/0.33, allocations: 117.8 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.3301, allocations: 11.95 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.3301, allocations: 12.36 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3301, allocations: 4 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3301, allocations: 0 / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3301, allocations: 0 / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.3306, allocations: 353.5 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3306, allocations: 0 / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.3306, allocations: 7.938 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3306, allocations: 0 / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3307, allocations: 7.984 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3307, allocations: 11.94 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3307, allocations: 0 / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.331, allocations: 195.5 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.331, allocations: 11.89 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.331, allocations: 4 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.3311, allocations: 11.92 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3311, allocations: 11.97 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3311, allocations: 4 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.638e-05/0.3312, allocations: 99.39 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3312, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003024/0.3315, allocations: 39.88 kB / 1.289 GB, free: 5.195 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.0008994/0.3324, allocations: 0.8073 MB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.3327, allocations: 71.83 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3327, allocations: 0 / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.3328, allocations: 36.11 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.333, allocations: 11.94 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.3349, allocations: 1.496 MB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3352, allocations: 0.6924 MB / 1.292 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.3353, allocations: 7.938 kB / 1.292 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.3353, allocations: 23.42 kB / 1.292 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.3353, allocations: 0 / 1.292 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.3668, allocations: 2.821 MB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.47, allocations: 6.703 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.210106916027144]