Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001767/0.001767, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002351/0.002351, allocations: 214 kB / 23.01 MB, free: 4.566 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.768/2.768, allocations: 476.7 MB / 0.7714 GB, free: 4.34 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") [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.002069/0.002069, allocations: 74.59 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.303, allocations: 170 MB / 1.285 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002786/0.3058, allocations: 1.546 MB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3073, allocations: 0.8041 MB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.3073, allocations: 4 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.3074, allocations: 3.938 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.3074, allocations: 19.84 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.308, allocations: 143.5 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.3081, allocations: 79.77 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.3082, allocations: 12.11 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3084, allocations: 51.78 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.3084, allocations: 39.83 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3085, allocations: 8 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.3088, allocations: 135.8 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.3088, allocations: 15.98 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.3088, allocations: 35.78 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.3091, allocations: 151.5 kB / 1.288 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3091, allocations: 3.984 kB / 1.288 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3091, allocations: 0 / 1.288 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3091, allocations: 4 kB / 1.288 GB, free: 8.25 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.0006459/0.3098, allocations: 347.6 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3098, allocations: 8.031 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.3101, allocations: 36.86 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3103, allocations: 134.4 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3104, allocations: 384 / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.3104, allocations: 4.375 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3106, allocations: 77.77 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3106, allocations: 3.938 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3106, allocations: 0 / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3106, allocations: 0 / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3107, allocations: 39.97 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.3113, allocations: 291.8 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3114, allocations: 42.56 kB / 1.289 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.214e-05/0.3115, allocations: 32.91 kB / 1.289 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3115, allocations: 0 / 1.289 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3117, allocations: 79.38 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3117, allocations: 0 / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003928/0.3121, allocations: 141.7 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.3121, allocations: 55.39 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3122, allocations: 119.3 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3123, allocations: 41.64 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.3123, allocations: 92.08 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3124, allocations: 19.84 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.3124, allocations: 25.7 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3126, allocations: 322.8 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.3126, allocations: 27.97 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3127, allocations: 50.56 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3129, allocations: 70.48 kB / 1.29 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3129, allocations: 4 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002382/0.3131, allocations: 117.8 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3132, allocations: 8 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3132, allocations: 8 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3132, allocations: 3.984 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.3133, allocations: 11.98 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3133, allocations: 4 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.3133, allocations: 4 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3133, allocations: 4 kB / 1.29 GB, free: 5.855 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.0001012/0.3134, allocations: 121.8 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.3135, allocations: 15.88 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.3135, allocations: 12.31 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3135, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3135, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3135, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.314, allocations: 357.5 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.314, allocations: 0 / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.314, allocations: 4 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.314, allocations: 0 / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.314, allocations: 7.984 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.314, allocations: 7.875 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.314, allocations: 0 / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.3143, allocations: 203.5 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.3143, allocations: 11.89 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3143, allocations: 3.984 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.3144, allocations: 7.938 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3145, allocations: 11.98 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3145, allocations: 8 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.3146, allocations: 93.77 kB / 1.291 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3146, allocations: 0 / 1.291 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002951/0.3148, allocations: 35.94 kB / 1.291 GB, free: 4.895 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.0003942/0.3152, allocations: 168.1 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3155, allocations: 63.91 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3155, allocations: 0 / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.3156, allocations: 35.92 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3159, allocations: 14.05 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.3163, allocations: 222.5 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3166, allocations: 0.6885 MB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.3167, allocations: 11.44 kB / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3167, allocations: 0 / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of Templates: time 0.003824/0.3205, allocations: 1.66 MB / 1.293 GB, free: 1.992 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.576999386015814]