Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001674/0.001674, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.001263/0.001263, allocations: 192.6 kB / 19.41 MB, free: 3.656 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.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 443.5 MB / 0.7287 GB, free: 14.61 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.056 GB, free: 2.52 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 160.7 MB / 1.213 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002789/0.3246, allocations: 1.511 MB / 1.214 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.326, allocations: 0.733 MB / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.3261, allocations: 4 kB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.3261, allocations: 3.938 kB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.3261, allocations: 15.86 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.3267, allocations: 123.6 kB / 1.215 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3268, allocations: 75.77 kB / 1.215 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.3269, allocations: 12.27 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.327, allocations: 35.86 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.3271, allocations: 39.83 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3271, allocations: 8 kB / 1.215 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.3273, allocations: 107.8 kB / 1.215 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.3273, allocations: 11.98 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.3274, allocations: 35.84 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.3276, allocations: 151.4 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3276, allocations: 3.938 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3276, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3276, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 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.0006723/0.3283, allocations: 416.7 kB / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3284, allocations: 8.031 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.3284, allocations: 46.73 kB / 1.216 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.3285, allocations: 8.891 kB / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3286, allocations: 176.2 kB / 1.216 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3286, allocations: 4.312 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3286, allocations: 8.375 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3288, allocations: 69.78 kB / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3288, allocations: 3.984 kB / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3289, allocations: 0 / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3289, allocations: 0 / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.329, allocations: 35.98 kB / 1.216 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.3297, allocations: 320.8 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3298, allocations: 46.5 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.3299, allocations: 32.97 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3299, allocations: 0 / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.3301, allocations: 75.38 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3301, allocations: 0 / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000474/0.3306, allocations: 141.5 kB / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.3307, allocations: 63.45 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3308, allocations: 129.7 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3308, allocations: 29.7 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3309, allocations: 92.12 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.3309, allocations: 15.84 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.3309, allocations: 25.7 kB / 1.217 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3311, allocations: 322.8 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.3312, allocations: 31.97 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3313, allocations: 46.56 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.3314, allocations: 74.48 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3314, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002448/0.3317, allocations: 117.6 kB / 1.218 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3317, allocations: 4 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3317, allocations: 0 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3317, allocations: 4 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.3318, allocations: 11.98 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3318, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.3319, allocations: 11.98 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3319, allocations: 7.938 kB / 1.218 GB, free: 12.02 MB / 0.9669 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.000101/0.332, allocations: 125.8 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.332, allocations: 7.953 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3321, allocations: 12.36 kB / 1.218 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3321, allocations: 4 kB / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3321, allocations: 0 / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3321, allocations: 0 / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.3326, allocations: 390.3 kB / 1.218 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3326, allocations: 0 / 1.218 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.3326, allocations: 4 kB / 1.218 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3326, allocations: 7.938 kB / 1.218 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3327, allocations: 3.984 kB / 1.218 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3327, allocations: 3.938 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3327, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.333, allocations: 203.5 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.333, allocations: 85.06 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.3331, allocations: 3.984 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/0.3331, allocations: 7.938 kB / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.3332, allocations: 7.984 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3332, allocations: 4 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.608e-05/0.3333, allocations: 99.2 kB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3333, allocations: 0 / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003167/0.3336, allocations: 31.94 kB / 1.219 GB, free: 10.94 MB / 0.9669 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.0009414/0.3345, allocations: 0.8164 MB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.3348, allocations: 67.89 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3348, allocations: 4.125 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3349, allocations: 31.98 kB / 1.22 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3351, allocations: 11.94 kB / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.337, allocations: 1.492 MB / 1.221 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.3374, allocations: 0.6846 MB / 1.222 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.3374, allocations: 7.984 kB / 1.222 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.3374, allocations: 19.44 kB / 1.222 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3374, allocations: 0 / 1.222 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.3645, allocations: 2.667 MB / 1.225 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.509, allocations: 13.08 kB / 1.225 GB, free: 5.137 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.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: 14.497984203975648]