Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001331/0.001331, allocations: 107 kB / 16.4 MB, free: 6.504 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.001413/0.001414, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.417/1.417, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.13/3.13, allocations: 489 MB / 0.7678 GB, free: 29.22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.89 kB / 1.101 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8196/0.8217, allocations: 163.8 MB / 1.261 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002863/0.8246, allocations: 1.5 MB / 1.262 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.826, allocations: 0.7284 MB / 1.263 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.826, allocations: 0 / 1.263 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.8261, allocations: 3.938 kB / 1.263 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.8262, allocations: 19.84 kB / 1.263 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.8267, allocations: 115.6 kB / 1.263 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.8268, allocations: 75.77 kB / 1.263 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.827, allocations: 27.91 kB / 1.263 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.8271, allocations: 31.91 kB / 1.263 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.8271, allocations: 35.84 kB / 1.263 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.8272, allocations: 8 kB / 1.264 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.8274, allocations: 95.84 kB / 1.264 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.8274, allocations: 19.97 kB / 1.264 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.8275, allocations: 39.78 kB / 1.264 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.8277, allocations: 138.3 kB / 1.264 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.8277, allocations: 0 / 1.264 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8277, allocations: 4 kB / 1.264 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8277, allocations: 0 / 1.264 GB, free: 4.262 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.0006809/0.8284, allocations: 416.7 kB / 1.264 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8285, allocations: 12.03 kB / 1.264 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.8285, allocations: 38.73 kB / 1.264 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.8286, allocations: 8.891 kB / 1.264 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.8287, allocations: 176.2 kB / 1.264 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.8287, allocations: 8.375 kB / 1.264 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.8288, allocations: 4.375 kB / 1.264 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.8289, allocations: 73.77 kB / 1.264 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.829, allocations: 0 / 1.264 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.829, allocations: 0 / 1.264 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.829, allocations: 4 kB / 1.265 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.8291, allocations: 39.95 kB / 1.265 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.8298, allocations: 320.7 kB / 1.265 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.8299, allocations: 46.5 kB / 1.265 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/0.83, allocations: 32.97 kB / 1.265 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.83, allocations: 0 / 1.265 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.8302, allocations: 83.38 kB / 1.265 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.8302, allocations: 0 / 1.265 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004103/0.8307, allocations: 145.6 kB / 1.265 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.8307, allocations: 51.41 kB / 1.265 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.8308, allocations: 125.8 kB / 1.265 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.8308, allocations: 25.7 kB / 1.265 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.8309, allocations: 92.09 kB / 1.265 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.8309, allocations: 23.89 kB / 1.265 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.831, allocations: 29.66 kB / 1.265 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.8312, allocations: 322.8 kB / 1.266 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.289e-05/0.8313, allocations: 23.98 kB / 1.266 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.8314, allocations: 46.55 kB / 1.266 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.8316, allocations: 78.48 kB / 1.266 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8316, allocations: 0 / 1.266 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002455/0.8318, allocations: 113.5 kB / 1.266 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8318, allocations: 4 kB / 1.266 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.8318, allocations: 4 kB / 1.266 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8319, allocations: 3.984 kB / 1.266 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.832, allocations: 12.06 kB / 1.266 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.832, allocations: 0 / 1.266 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.8321, allocations: 19.86 kB / 1.266 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.8321, allocations: 4 kB / 1.266 GB, free: 1.664 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.0001069/0.8322, allocations: 121.7 kB / 1.266 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.8322, allocations: 7.953 kB / 1.266 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.8323, allocations: 12.38 kB / 1.266 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8323, allocations: 7.984 kB / 1.266 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8323, allocations: 4 kB / 1.266 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8323, allocations: 0 / 1.266 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.8328, allocations: 378.4 kB / 1.267 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8328, allocations: 0 / 1.267 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.8328, allocations: 4 kB / 1.267 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8328, allocations: 0 / 1.267 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.8329, allocations: 8 kB / 1.267 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.8329, allocations: 7.922 kB / 1.267 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8329, allocations: 4 kB / 1.267 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.8332, allocations: 200 kB / 1.267 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.8333, allocations: 85.06 kB / 1.267 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.8333, allocations: 0 / 1.267 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.8334, allocations: 11.92 kB / 1.267 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.8334, allocations: 7.938 kB / 1.267 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.8334, allocations: 7.984 kB / 1.267 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.8335, allocations: 99.86 kB / 1.267 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8335, allocations: 0 / 1.267 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002964/0.8338, allocations: 39.88 kB / 1.267 GB, free: 0.5742 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.0008631/0.8347, allocations: 0.8037 MB / 1.268 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.8349, allocations: 71.91 kB / 1.268 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.835, allocations: 0 / 1.268 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.8351, allocations: 43.89 kB / 1.268 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.8353, allocations: 17.09 kB / 1.268 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.837, allocations: 1.474 MB / 1.269 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.8374, allocations: 0.6979 MB / 1.27 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.8374, allocations: 7.984 kB / 1.27 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.8375, allocations: 23.42 kB / 1.27 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.8375, allocations: 0 / 1.27 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.8627, allocations: 2.633 MB / 1.273 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.856, allocations: 20.06 kB / 1.273 GB, free: 10.81 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.870397754944861]