Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002368/0.002368, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 63.91 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 160.8 MB / 1.218 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003146/1.034, allocations: 1.528 MB / 1.22 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001554/1.036, allocations: 0.7477 MB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/1.036, allocations: 1.125 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/1.036, allocations: 3.938 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/1.036, allocations: 13.16 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/1.036, allocations: 131.4 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/1.036, allocations: 74.98 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/1.037, allocations: 14.98 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/1.037, allocations: 34.8 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/1.037, allocations: 43.75 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/1.037, allocations: 6.125 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/1.037, allocations: 137.3 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/1.037, allocations: 15.08 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/1.037, allocations: 38.56 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/1.038, allocations: 141.5 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.038, allocations: 0 / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/1.038, allocations: 0 / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.445e-06/1.038, allocations: 0 / 1.221 GB, free: 1.594 MB / 0.92 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.0008473/1.038, allocations: 423.9 kB / 1.222 GB, free: 1.156 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.038, allocations: 9.719 kB / 1.222 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/1.039, allocations: 8.891 kB / 1.222 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/1.039, allocations: 175.6 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/1.039, allocations: 3.375 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/1.039, allocations: 7.5 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/1.039, allocations: 72.41 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.039, allocations: 0 / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/1.039, allocations: 1.156 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.039, allocations: 1.062 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/1.039, allocations: 36.69 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/1.04, allocations: 320.8 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/1.04, allocations: 54.56 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/1.04, allocations: 30.06 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.04, allocations: 1.062 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/1.04, allocations: 78.09 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/1.04, allocations: 0 / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004694/1.041, allocations: 148.6 kB / 1.223 GB, free: 316 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.041, allocations: 52.72 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/1.041, allocations: 120.9 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/1.041, allocations: 26.8 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/1.041, allocations: 99.03 kB / 1.223 GB, free: 4 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/1.041, allocations: 10.31 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/1.041, allocations: 30.14 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001868/1.041, allocations: 325.5 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/1.042, allocations: 25.89 kB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.821e-05/1.042, allocations: 48.55 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/1.042, allocations: 78.3 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.042, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002445/1.042, allocations: 109.2 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.042, allocations: 9.25 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.042, allocations: 0.75 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.042, allocations: 5.656 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.042, allocations: 16.67 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.042, allocations: 1.281 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/1.042, allocations: 11.31 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/1.042, allocations: 7.109 kB / 1.224 GB, free: 15.45 MB / 0.9356 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.0001159/1.042, allocations: 126.7 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/1.042, allocations: 7.266 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/1.042, allocations: 14.56 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.042, allocations: 0 / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.042, allocations: 1.094 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.042, allocations: 3.938 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/1.043, allocations: 382.8 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.043, allocations: 1.125 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/1.043, allocations: 7.141 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.043, allocations: 0 / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.043, allocations: 1.062 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.043, allocations: 9.094 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.043, allocations: 0 / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/1.043, allocations: 209.8 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/1.043, allocations: 87.28 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/1.043, allocations: 1.094 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/1.044, allocations: 10.14 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/1.044, allocations: 6.656 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/1.044, allocations: 6.172 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.108e-05/1.044, allocations: 88.62 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/1.044, allocations: 0 / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000338/1.044, allocations: 43.83 kB / 1.225 GB, free: 14.53 MB / 0.9356 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.0004629/1.044, allocations: 173.5 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002642/1.045, allocations: 68.11 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/1.045, allocations: 0 / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/1.045, allocations: 30.11 kB / 1.225 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/1.045, allocations: 9.891 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/1.046, allocations: 197.8 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/1.046, allocations: 0.6876 MB / 1.226 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.91e-05/1.046, allocations: 12.28 kB / 1.226 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/1.046, allocations: 10.72 kB / 1.226 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of SimCode: time 6.62e-07/1.046, allocations: 3.938 kB / 1.226 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of Templates: time 0.00541/1.051, allocations: 1.476 MB / 1.227 GB, free: 12.71 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.245114744640887]