Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001496/0.001501, allocations: 104 kB / 16.4 MB, free: 6.496 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.001717/0.001717, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.443/1.443, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 469.8 MB / 0.7491 GB, free: 3.141 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 1.073 GB, free: 168 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8603/0.8623, allocations: 159.1 MB / 1.229 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003162/0.8655, allocations: 1.498 MB / 1.23 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.867, allocations: 0.7256 MB / 1.231 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.8671, allocations: 7.938 kB / 1.231 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.8671, allocations: 7.922 kB / 1.231 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.8672, allocations: 11.88 kB / 1.231 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.8677, allocations: 119.6 kB / 1.231 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.8679, allocations: 75.78 kB / 1.231 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.868, allocations: 31.7 kB / 1.231 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.8681, allocations: 31.92 kB / 1.231 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.8682, allocations: 43.81 kB / 1.231 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.8682, allocations: 4 kB / 1.231 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.8684, allocations: 95.86 kB / 1.231 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.8685, allocations: 15.97 kB / 1.231 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.8685, allocations: 35.8 kB / 1.231 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.8688, allocations: 137.5 kB / 1.231 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8688, allocations: 0 / 1.231 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8688, allocations: 4 kB / 1.231 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.8688, allocations: 0 / 1.231 GB, free: 1.965 MB / 0.9356 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.0006779/0.8695, allocations: 416.7 kB / 1.232 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.8696, allocations: 12.03 kB / 1.232 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.8696, allocations: 38.73 kB / 1.232 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.8697, allocations: 12.83 kB / 1.232 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.8698, allocations: 172.3 kB / 1.232 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.8698, allocations: 4.375 kB / 1.232 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.8699, allocations: 4.375 kB / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.8701, allocations: 69.78 kB / 1.232 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8701, allocations: 4 kB / 1.232 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.8701, allocations: 3.984 kB / 1.232 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.8701, allocations: 7.938 kB / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.8703, allocations: 31.98 kB / 1.232 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.8709, allocations: 316.7 kB / 1.232 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.8711, allocations: 50.56 kB / 1.232 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.8712, allocations: 32.97 kB / 1.233 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.8712, allocations: 3.938 kB / 1.233 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.8714, allocations: 79.31 kB / 1.233 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.8714, allocations: 0 / 1.233 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004196/0.8718, allocations: 145.7 kB / 1.233 GB, free: 412 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.8719, allocations: 55.39 kB / 1.233 GB, free: 344 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.872, allocations: 125.7 kB / 1.233 GB, free: 208 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.872, allocations: 25.7 kB / 1.233 GB, free: 176 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.8721, allocations: 96.12 kB / 1.233 GB, free: 76 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.8721, allocations: 11.91 kB / 1.233 GB, free: 64 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.8723, allocations: 33.64 kB / 1.233 GB, free: 24 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8724, allocations: 322.8 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.8725, allocations: 31.97 kB / 1.233 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.8727, allocations: 42.56 kB / 1.233 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.8729, allocations: 74.84 kB / 1.234 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8729, allocations: 4 kB / 1.234 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002479/0.8732, allocations: 117.5 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.8732, allocations: 7.938 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8732, allocations: 4 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.8732, allocations: 0 / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.8733, allocations: 12 kB / 1.234 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8733, allocations: 3.984 kB / 1.234 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.8734, allocations: 7.938 kB / 1.234 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.8734, allocations: 8.062 kB / 1.234 GB, free: 15.37 MB / 0.9512 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 9.908e-05/0.8735, allocations: 118.9 kB / 1.234 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.8735, allocations: 7.953 kB / 1.234 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.8736, allocations: 20.3 kB / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.8736, allocations: 0 / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8736, allocations: 3.938 kB / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.8736, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.8741, allocations: 386.4 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8741, allocations: 3.938 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.8742, allocations: 4 kB / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8742, allocations: 0 / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.8742, allocations: 3.984 kB / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8742, allocations: 7.938 kB / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8742, allocations: 0 / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.8745, allocations: 203.5 kB / 1.234 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.8746, allocations: 89.06 kB / 1.234 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.8746, allocations: 3.984 kB / 1.234 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.8747, allocations: 7.938 kB / 1.234 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.8747, allocations: 7.969 kB / 1.235 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.8748, allocations: 4 kB / 1.235 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.496e-05/0.8748, allocations: 95.86 kB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8748, allocations: 0 / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002965/0.8751, allocations: 39.88 kB / 1.235 GB, free: 14.27 MB / 0.9512 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.00101/0.8762, allocations: 0.807 MB / 1.235 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.8765, allocations: 87.8 kB / 1.236 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8765, allocations: 3.938 kB / 1.236 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.8767, allocations: 31.98 kB / 1.236 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.8769, allocations: 11.94 kB / 1.236 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.8788, allocations: 1.482 MB / 1.237 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.8792, allocations: 0.6885 MB / 1.238 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.435e-05/0.8792, allocations: 7.984 kB / 1.238 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.8793, allocations: 23.38 kB / 1.238 GB, free: 11 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.8793, allocations: 4 kB / 1.238 GB, free: 11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.904, allocations: 2.646 MB / 1.24 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/9.058, allocations: 14.31 kB / 1.24 GB, free: 8.484 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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,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: 15.084328380180523]